Strip numerical indices from array

From: Date: Mon, 13 Aug 2007 03:09:47 +0000
Subject: Strip numerical indices from array
Groups: php.general 
Request: Send a blank email to php-general+get-260749@lists.php.net to get a copy of this message
PHP General list, I've got an associative array that also includes a numerical index. The numerical index was automatically generated from the mysql_fetch_array command, so it the values are the duplicates of the associative key names. Is there a way to simply strip off the numerical index, leaving only the associative key names? -- Dave M G

« previous php.general (#260749) next »