HTML showing up instead of links
| From: | tequilacat | Date: | Thu, 16 Jan 2003 14:45:47 +0000 |
| Subject: | HTML showing up instead of links | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3321@lists.php.net to get a copy of this message | ||
If you read an earlier version of this post, please disregard...there was an
error in the coding...(I copied a revised version that I know is wrong).
-----------------------------------------------
I've got an issue that I don't know how to correct. It's only showing up for
a very, very small percentage of people who view my site. Two have seen some
html code on IE6 and one on NN7. Everyone else is seeing the site as it
should be. Most people with IE6 are seeing the site fine, btw.
here is the website:
http://www.petsitaustin.com (enter 78759 or 78712 for zip
codes)
When you enter a zip code, and hit fetch, another page will come up with a
listing of businesses in that zip code. Each business name should be listed
in a blue bar, under that (in most) is a line of text, a blank line, one or
two phone numbers (each on a separate line), another blank line, the email
address, and their website URL.
Instead of seeing a list of identical listings on the page, people are
getting the first part of the first listing, and then other snippets of the
others are showing up. They may see the business name of some of the others,
or the email address. Then, rather than seeing the link for the email
address and website URL they're getting the actual code for the very last
listing on the page. And it's not centered like it should be.
I've tried adding "double quotes" where I have 'single quotes' but I get an
error. Like I said, most people see it correctly, even with the same type of
browser that's seeing the errors, so I'm really truly baffled. Any help or
suggestions would be appreciated!
Thanks!
Therese
watchdog AT petsitusa.com
Here's the php coding:
{
echo "<table width=100% border=0 cellpadding=0 cellspacing=0 height=128
valign=center>
<tr>
<td width=122 valign=top rowspan=2> </td>
<td width=406 valign=middle bgcolor=000099 align=center height=25><font
color=#FFFFFF face=Arial, Helvetica, sans-serif
size=2><b>$BusinessName</b></td><td width=122 valign=top rowspan=2>
</td></tr>";
echo "<tr><td align=center><font face=Arial, Helvetica, sans-serif
size=2>$Description<br><br>
<b>$Phone1</b><br>
<b>$Phone2</b><br>
<a href='mailto:$Email?subject=petsitAustin.com
referral'<br>
$Email<br></a href>
<a href='$Website' target='$Website'</a href>
$Website<br><br>
</td></tr>";
echo "</table>";
}