Re: Script help about array dimension
| From: | Curt Zirzow | Date: | Mon, 01 Dec 2003 05:33:56 +0000 |
| Subject: | Re: Script help about array dimension | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171430@lists.php.net to get a copy of this message | ||
* Thus wrote orlandopozo@icnet.com.ve (orlandopozo@icnet.com.ve):
> $array['ojpp'][1][][] = 'ferrer';
> $array['test'][0] = 'ojpp';
> $array['test'][1] = 'ferrer';
>
> How could I do a script that give me this output:
>
> Array
> (
> [0] => Array
> (
> [0] => ojpp
> [1] => 1
> [2] => 0
> [3] => 0
> )
I'm not sure what your asking this makes no sense to me. Try and
explain what you are trying to do.
Curt
--
If eval() is the answer, you're almost certainly asking the
wrong question. -- Rasmus Lerdorf, BDFL of PHP