RE: [PHP] Query result to an array

From: Date: Wed, 11 Sep 2002 21:05:23 +0000
Subject: RE: [PHP] Query result to an array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116031@lists.php.net to get a copy of this message
> while( $temp = mysql_fetch_row($mysql_result_handle) ) { > $array[] = array( > 'key0' = array( > 'keya' => $temp[0], > 'keyb' => $temp[1], > ), > 'key1' = array( > 'keya' => $temp[2], > 'keyb' => $temp[3], > ) > ); > } Hello, Thanks for your help. But that's not work at all. bye

« previous php.general (#116031) next »