Posted by .:[ ikciu ]:. on 10/16/06 15:37
Hmm NurAzije <nurazije@gmail.com> wrote:
> Try this one, this will work :
> ---------------------------------------------------
> $test = explode('-','one-two-three-four-five');
> $view = new Array();
> foreach($test as $boo => $foo){
> $view[$foo] = $foo; // typing error, do it like this
> }
>
> print_r($view);
still too much of lines ... try array_combine
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl
2be || !2be $this => mysql_query();
[Back to original message]
|