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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.