RE: [PHP-WIN] Need help with Echo

2002-10-10 Thread Rich Gray
Bonjour Keith Use mysql_fetch_array($result) not mysql_fetch_row($result) - this will return an associative as well as a standard array. Ciao Rich -Original Message- From: Keith Calvert [mailto:[EMAIL PROTECTED]] Sent: 07 July 2002 07:56 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Need

RE: [PHP-WIN] Need help with Echo

2002-10-10 Thread Davy Obdam
Hi Kieth, I would use this : $result = mysql_query("select * from proprietaires") or die( mysql_error() ); while ($row = mysql_fetch_row($result)) { echo ".$row['Id']."; echo "\n"; echo $row[2]; echo "\n"; } I hope this works, Best regards, Davy Obdam, mailto:[EMAIL PROTECTED] You wrote

[PHP-WIN] Need help with Echo

2002-10-10 Thread Keith Calvert
Hi I've just started with Php and MySql I have installed the PhpTriad all in one package on my windows XP and all seems to be going well. I have the following problem, here is the code $result = mysql_query("select * from proprietaires") or die( mysql_error() ); while ($row = mysql_fetch_row($r