Forum Moderators: coopster
<?php
if( isset( $HTTP_COOKIE["CookieName"] ))
{
echo "<font class=header>Private Messages
<br><IMG height=10 src=images/line.gif width=100% border=0></font>
<?php include ('count.php');?>
</td></tr>";
}
else
{
echo "<font class=header>New Players
<br><IMG height=10 src=images/line.gif width=100% border=0></font>
The Bloomfield Junior Rugby League has held its sign-on day for 2003, <a href=new.php>click here.</a><br>
</td></tr>";
}?>
echo "<font class=header>Private Messages
<br><IMG height=10 src=images/line.gif width=100% border=0></font>
<?php include ('count.php');?>
</td></tr>";
to
echo "<font class=header>Private Messages
<br><IMG height=10 src=images/line.gif width=100% border=0></font> ";
include ('count.php');
echo "</td></tr>";
then it should work I think.
<?php
if( isset( $HTTP_COOKIE["CookieName"] ))
{
echo "<font class=header>Private Messages
<br><IMG height=10 src=images/line.gif width=100% border=0></font>;
include ('count.php');
...?>
Or, add the first echo statement to 'count.php', and do:
if( isset( $HTTP_COOKIE["CookieName"] ))
include('count.php');
else
echo...
WBF
<edit>Whoops, HPCHE, you were responding even as I was<edit>