[PHP] mysql_fetch_row - how do I fetch a specific row?

2002-01-16 Thread Phil Schwarzmann
After I make a queryhow do I fetch a specific row from that query ?? Thanks!

Re: [PHP] mysql_fetch_row - how do I fetch a specific row?

2002-01-16 Thread Miles Thompson
Paul, The obvious question is Why do that? If there is a certain criteria you want to meet, it's generally better to do that in your select statement. Having got that out of the way, $result = mysql_query(SELECT * FROM a_table); $num_rows = mysql_num_rows($result); returns the number of

Re: [PHP] mysql_fetch_row - how do I fetch a specific row?

2002-01-16 Thread DL Neil
Phil, After I make a queryhow do I fetch a specific row from that query ?? =isn't the purpose of the query to return specific results? =dn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To