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> Quote Link to comment Share on other sites More sharing options...
trq Posted May 14, 2009 Share Posted May 14, 2009 Store it within the $_SESSION array. Quote Link to comment 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']; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.