Easy array question...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux