Re: Passing Arrays between pages

2005-03-22 Thread Steve Davies
Hi Kaan try Page 1 $testArray[0] =Apple; $testArray[1] =Banana; $testArray[2] =Peach; $testA=implode("!", $testArray); echo ""; Page2 $testArray=explode("!", $kcompany); echo $testArray[1]; HTH Steve PartyPosters wrote: Hello, Please can someone tell me how you pass arrays between PHP pages. I ha

Re: Passing Arrays between pages

2005-03-22 Thread Peter Brawley
Or you can issue session_start() at the top of each page, assign your array to $_SESSION[] in one page, and pluck it from the session array in the other page. (But you asked the question in the wrong forum) PB - Mike Johnson wrote: From: PartyPosters [mailto:[EMAIL PROTECTED]]

RE: Passing Arrays between pages

2005-03-22 Thread Mike Johnson
From: PartyPosters [mailto:[EMAIL PROTECTED] > Hello, > Please can someone tell me how you pass arrays between PHP pages. > I have tried something like this and have tried many > variations of this but > nothing working yet ; > > > Page 1 > $testArray[0] =Apple; > $testArray[1] =Banana; > $tes

RE: Passing Arrays between pages

2005-03-22 Thread Jay Blanchard
[snip] Please can someone tell me how you pass arrays between PHP pages. I have tried something like this and have tried many variations of this but nothing working yet ; Page 1 $testArray[0] =Apple; $testArray[1] =Banana; $testArray[2] =Peach; echo ""; Page2 echo $testArray[1]; [/snip] Just in

Passing Arrays between pages

2005-03-22 Thread PartyPosters
Hello, Please can someone tell me how you pass arrays between PHP pages. I have tried something like this and have tried many variations of this but nothing working yet ; Page 1 $testArray[0] =Apple; $testArray[1] =Banana; $testArray[2] =Peach; echo ""; Page2 echo $testArray[1]; Many Thanks.