Strip numerical indices from array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux