[PHP] Re: Simple while loop skipping first row of array

2004-02-15 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 just fixing something hehe echo ""; $result = mysql_query("select * from cats order by title"); if ($result) { while ($c = mysql_fetch_array($result)) { echo "$c[title]"; } } echo ""; André cerqueira wrote: try: echo ""; $result = mysql_quer

[PHP] Re: Simple while loop skipping first row of array

2004-02-15 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 try: echo ""; $result = mysql_query("select * from cats order by title"); while ($c = mysql_fetch_array($result)) { echo "$c[title]"; } echo ""; Verdon Vaillancourt wrote: I'm not sure I phrased my subject well, but... The following is just to bui