Easy array question...
| From: | SBCSI) | Date: | Wed, 12 Mar 2003 16:36:33 +0000 |
| Subject: | Easy array question... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26289@lists.php.net to get a copy of this message | ||
I create an array on one page and then process it on the next page
as I have registered the array as a session variable. I need to basically
process one of these arrays twice, so I want to make a copy of the array.
The question is how do I do this? I have tried the following:
$array2 = $array1;
This doesn't seem to do the trick for me. Is this correct and I am
just missing something elsewhere, or is there another way to copy an array?
Thanks.
Scott Nipp
Phone: (214) 858-1289
E-mail: sn4265@sbc.com
Web: http:\\ldsa.sbcld.sbc.com