Kid Posted March 30, 2007 Share Posted March 30, 2007 How would someone do that? Like if I click a image (stored in an array), it will array_search for that array and use array_splice to remove it and reload the page. Been searching a bit for a way I could do that but can't find anything. Link to comment https://forums.phpfreaks.com/topic/45000-passing-arrays-through-pages/ Share on other sites More sharing options...
Kid Posted March 31, 2007 Author Share Posted March 31, 2007 Nobody? :| Link to comment https://forums.phpfreaks.com/topic/45000-passing-arrays-through-pages/#findComment-218460 Share on other sites More sharing options...
Kid Posted March 31, 2007 Author Share Posted March 31, 2007 I guess I'll describe it differently... What would be a good way to pass arrays to another page? I don't think using sessions would be a good idea - I need to know if the person chose array #1 or array #2 and whatever one they chose will be passed to the next page and the next page will array_search() and array_splice() the array so it won't repeat. It will need to go through like 8 pages until it gets to the end of the array. Link to comment https://forums.phpfreaks.com/topic/45000-passing-arrays-through-pages/#findComment-218499 Share on other sites More sharing options...
neel_basu Posted March 31, 2007 Share Posted March 31, 2007 Store the entire Array In sessions By the first Page. And Get the Session Array From the Second Page Link to comment https://forums.phpfreaks.com/topic/45000-passing-arrays-through-pages/#findComment-218513 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.