Well I just coded up a very small example, and it pushing 1 array into the
other...

Check out: http://81.102.229.151/push.php and
http://81.102.229.151/push.phps

It works exactly how it should... However really the array isn't a 2
dimensional one, since PHP doesn't have them, its rather a array of arrays
which is roughly the same thing (and something not to worry about)...

If you need more help just email me
Andrew
----- Original Message -----
From: "Hank TT" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Saturday, August 02, 2003 7:58 AM
Subject: [PHP] Pushing array onto array


> In comparing Perl's push to array_push in "PHP Developer's Cookbook" (2/e,
> p. 76), the authors note that pushing an array onto another produces a
> two-dimensional array.  However, I have not been able to reproduce their
> example result, and php.net/array_push does not document this behavior.
>
> Just curious.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to