Posted by Janwillem Borleffs on 10/16/06 11:19
mosesdinakaran@gmail.com schreef:
> But What I need is
>
> Array
> (
> [one] => one
> [two] => two
> [three] => three
> [four] => four
> [five] => five
> )
>
For PHP5, you can use array_combine:
http://www.php.net/manual/hk/function.array-combine.php
For PHP4, have a look at the user contributions on that page.
JW
[Back to original message]
|