puzzled with echo()
Posted: Thu May 26, 2005 3:07 pm
I am a newbie in php and i am working on my first website made out of php.
Just wondering whether anyone could help me with this problem:
In my code one of the echo statements don't seem to be working. Actually only a part of it seem to be working (line 8 ).
PHP code:
Output source code:

I have no idea why its not working ???
THANKS!!
-TS
Just wondering whether anyone could help me with this problem:
In my code one of the echo statements don't seem to be working. Actually only a part of it seem to be working (line 8 ).
PHP code:
Code: Select all
<?php
//...
echo "<table width=\"100%\"><tr><td width=\"99%\"><p><strong>" . $name[$min+$count] . " </strong></p></td><td><a href=\"#\" class=\"navimages\"> <img src=\"http://www.playonline.e2u.cc/images/top.gif\" border=\"0\" /></a></td></tr></table>";
echo "<table width=\"100%\"><tr><td>";
echo "<a href=\"play.php?id=" . $id[$min+$count] . "\">";
echo "<img height=\"120\" width=\"160\" src=\"game_images/" . $min+$count+1 . '.jpg" border=0 align="top"></a></td><td width="90%" valign="top"><p>Description: ' . $description[$min+$count] ;
//...
?>Screenshot:<table width="100%"><tr><td width="99%"><p><strong>Sheepish </strong></p></td><td><a href="#" class="navimages"> <img src="http://www.playonline.e2u.cc/images/top.gif" border="0" /></a></td></tr></table><table width="100%"><tr><td><a href="play.php?id=">1.jpg" border=0 align="top"></a></td>

I have no idea why its not working ???
THANKS!!
-TS