PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
dougp23
Forum Newbie
Posts: 4 Joined: Thu Oct 14, 2004 6:23 pm
Post
by dougp23 » Thu Oct 14, 2004 6:27 pm
Just a couple questions!
Can I assign an array to a SESSION variable? I build an array in a script, but then move to a new script. Can I carry that array with me?
How do I move to the next record in the array? My array is called $kids (brought over in $_SESSION['kids'])
How do I tell PHP to load a new page? How do I tell PHP to reload the EXISTING page?
Much thanks!
kettle_drum
DevNet Resident
Posts: 1150 Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England
Post
by kettle_drum » Thu Oct 14, 2004 6:52 pm
Why dont you try and add an array to a session and see what happens?
You can use header() to refresh the current page or redirect to another page.
mudkicker
Forum Contributor
Posts: 479 Joined: Wed Jul 09, 2003 6:11 pm
Location: Istanbul, TR
Contact:
Post
by mudkicker » Thu Oct 14, 2004 7:13 pm
next($_SESSION['kids']) work to get to next member of array.