note 22876 added to function.mysql-fetch-array

From: Date: Wed, 03 Jul 2002 03:37:14 +0000
Subject: note 22876 added to function.mysql-fetch-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-32530@lists.php.net to get a copy of this message
I was curious about something.. When you want to use mysql_fetch_array, is the following mandatory: $result = mysql_query( "SELECT..." ); mysql_fetch_array( $result ); Or can you just run: mysql_fetch_array( "SELECT..." ); Thanks, Bob Weaver -- http://www.php.net/manual/en/function.mysql-fetch-array.php http://master.php.net/manage/user-notes.php?action=edit+22876 http://master.php.net/manage/user-notes.php?action=delete+22876 http://master.php.net/manage/user-notes.php?action=reject+22876

« previous php.notes (#32530) next »