sandipijs Posted May 14, 2009 Share Posted May 14, 2009 Please anyone tell me how can i send an array variable one page to another without using form tag... or using header("location:"); or <script language="javascript"> location.href=""; </script> Link to comment https://forums.phpfreaks.com/topic/158095-passing-array-variable/ Share on other sites More sharing options...
trq Posted May 14, 2009 Share Posted May 14, 2009 Store it within the $_SESSION array. Link to comment https://forums.phpfreaks.com/topic/158095-passing-array-variable/#findComment-833940 Share on other sites More sharing options...
lonewolf217 Posted May 14, 2009 Share Posted May 14, 2009 or include it as part of the link and retrieve it using $_GET like <?php //Page 1: <a href="http://page.com?query=test">LINK</a> //Page 2: $query = $_GET['query']; Link to comment https://forums.phpfreaks.com/topic/158095-passing-array-variable/#findComment-834113 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.