where is your
</table>
you must keep in mind that PHP is completely server sided, thus the only
thing that would cause the browser to have problems is what you create and
send out to it.
Netscape is very unforgiving when it comes to its HTML syntax. Where IE
allows for mistakes. If you review your code you will see that there is no
closeing table tag.
-Rob
-----Original Message-----
From: Phil Perks [mailto:philp@w...]
Sent: Thursday, July 20, 2000 5:15 AM
To: professional php
Subject: [pro_php] i can't run this php script in netscape netvigator
-----Original Message-----
From: 97322174d [mailto:97322174d@p...]
Sent: 20 July 2000 07:37
To: support@w...
Subject: (no subject)
i can't run this php script in netscape netvigator 4.7, but i can run it
in IE5.0
is it any problem?
thanks
#!/usr/local/bin/php
<html>
<body>
<body text="#000000" bgcolor="#FFFFFF">
<center><font color="#3333FF"><font size=+3>Wellcome to Shpping Cart
!</font></font></center>
<hr WIDTH="100%">
<center><table BORDER=0 WIDTH="550" >
<tr>
<td COLSPAN="3">
<hr></td>
</tr>
<?php
if(!$file = fopen("database_2.txt","r"))
{
echo("could not open file");
}
else
{
while (!feof($file))
{
$line = fgets($file, 1024);
$sign="|";
$items =explode($sign, $line);
?>
<td ALIGN=CENTER WIDTH="150">
<A HREF="<?php echo($items[4]);?>" >
<img SRC=<?php echo($items[1]);?> BORDER=0 ></td>
<td WIDTH="265"><b><font face="ARIAL"><font size=-1>
<?php
echo($items[0]);
?>
</font></font></b>
<br><font face="ARIAL"><font size=-1>
<?php
echo($items[3]);
?>
</a></font></font>
<br><font face="ARIAL"><font color="#FF0000"><font size=-1> <?php
echo($items[2]);?> </font></font></font></td>
<td>
<center></form></center>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td ALIGN=RIGHT><font face="ARIAL"><a
href="../../Windows/Desktop/commerce.cgi?add_to_cart_button.x=yes&product=we
b_design&cart_id=7589366.11107&keywords=&viewOrder=yes">Check
Out</a></font></td>
</tr>
<tr>
<td COLSPAN="3">
<hr></td>
</tr>
<?php
}
fclose($file);
}
?>
</body>
</htm>
<!-- next next next next next next next next next -->
---
Wrox Professional Wireless Developer Conference, Amsterdam, July 10-12.
Covering application of WAP, XML, ASP, Java and C++ to wireless computing,
choose from 40+ technical sessions delivered by industry experts:
http://www.wroxconferences.com/ConferenceHome.asp?ConfID=9