You need to use mysql_fetch_array instead
On Thu, 2002-10-03 at 15:29, Keith Calvert wrote: > Hi I've just started with Php and MySql > I have installed the PhpTriad all in one package 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($result)) > > { > > echo "Id:"; > > echo $row["Id"]; > > echo "<br>\n"; > > echo $row[2]; > > echo "<br>\n"; > > } > > The Echo $row["ID"] does not work > > The Echo $row[2] does > > > > This works on some of my other forms. any ideas or hints woul most certainly > be welcome > > > > Thanks in advance > > Keith > > Feance > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php