Hello! I am having some WIERD stuff happen with my php results and Netscape 4.x communicator browsers. Hopefully some of you may have had this problem before and can help. I am using php to return results from a database using a while statement. here is the PHP code for the WHILE statement:
while ($row = mysql_fetch_array($sql_result))
{
$name = $row["name"];
$address = $row["address"];
$city = $row["city"];
$state = $row["state"];
$zipcode = $row["zipcode"];
$phone = $row["phone"];
echo "
<table border=\"1\" cellpadding=\"5\" cellspacing=\"2\" width=\"750\" bordercolor=\"0066cc\">
<tr>
<td width=\"23%\" height=\"70\"><font size=\"2\">web address</font></td>
<td width=\"46%\" height=\"70\" valign=\"top\"><font size=\"2\">
$name<br>
$address<br>
<b>$phone</b></font></td>
<td width=\"31%\" height=\"70\" valign=\"top\"><font size=\"2\">review</font></td>
</tr>";
}
echo "</table>";
this create rows in a table until there are no more results to be had. This code works perfectly in all IE browsers and the new Netscape 6 browsers. However, in Netscape communicator 4.7x, it only returns the very last item in the database. Want to know whats really wierd? when I look at the source file for the completed page, I see ALL the results. I can't figure it out. anyone have a clue? if so, lemme know. thanks in advance for your help!
blue