putting the results of a query inro an array

From: Date: Mon, 18 Apr 2005 13:46:13 +0000
Subject: putting the results of a query inro an array
Groups: php.general 
Request: Send a blank email to php-general+get-213267@lists.php.net to get a copy of this message
how can I put the results from the following query into two arrays? The only fields are 'name' and 'email' $query = "SELECT * FROM contacts"; $result= mysql_query($query); $number= mysql_num_rows ($result);

« previous php.general (#213267) next »