Jump to content

[ resolved ] php reading wrong


11Tami

Recommended Posts

Hello, A small problem I think to anyone that knows about php. I am pulling a few items from mysql server database but even though the php works it is reading wrong in the browser. For instance in this whole string at the very end Mozilla and Opera are showing this much of the php. At the very end of the print string it is only showing "; ?>  When the end of the string should be invisible. Can tell me what to do to make the end of the print string invisible in these browsers? Thank you very much.

while ($row = mysql_fetch_array($result))
{
print "<p><a style='font-weight: bold; color: rgb(0, 0, 140); font-size: 14px;' href='$row[url]' target='_blank'>$row[webname]</a>&nbsp;&nbsp;<span style='font-size: 14px; font-family: arial,sans-serif; padding-right: 3px;'>$row[description]</span></p>"; } ?>
Link to comment
https://forums.phpfreaks.com/topic/30093-resolved-php-reading-wrong/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.