array conversion

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

 



Hi guys. How to convert an array like:

Array
(
    [0] => key1
    [1] => value1
    [2] => key2
    [3] => value2
)

to


Array
(
    [key1] => value1
    [key2] => value2
)

Is there a built-in function to do this?
Please Cc me. :)
Thank you in advance.


--
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