Query table / results to an array

From: Date: Fri, 29 Feb 2008 05:22:51 +0000
Subject: Query table / results to an array
Groups: php.db 
Request: Send a blank email to php-db+get-44692@lists.php.net to get a copy of this message
I need help populating an array based on the output of a mysql query. $reference_number is a value assigned by auto_increment $description is what I want the value of the array to be --- a few words in length $reference_number = mysql_result($search_result,$i,"reference_number"); $description = mysql_result($search_result,$i,"description"); Ron

« previous php.db (#44692) next »