Posted by muldoonaz on 08/29/05 21:05
Andy Hassall wrote:
> On Mon, 29 Aug 2005 17:36:47 GMT, muldoonaz <donot@spam.me.com> wrote:
>
>
>>Is there a similar function in PHP4 that produces the same results that
>>array_combine does in PHP5? I'm trying to combine array1 and array2
>>using array1 as the keys and array2 as the values.
>
>
> Have a look at PEAR's PHP_Compat package:
>
> http://pear.php.net/manual/en/package.php.php-compat.intro.php
> http://pear.php.net/manual/en/package.php.php-compat.components.php
>
> Either install that, or have a look at the source to see how they implemented
> array_combine for PHP4.
>
> --
> Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
> http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Thank you very much. This was exactly what I was looking for.
Usenet - 1
Google - 0
Navigation:
[Reply to this message]
|