oracle765 Posted February 8, 2014 Share Posted February 8, 2014 Hi All I have two webpages which I have attached some of the code, when I try to echo out the variables they seem to not be working, am I doing something wrong here thanks getnotworking.txt Quote Link to comment Share on other sites More sharing options...
PravinS Posted February 8, 2014 Share Posted February 8, 2014 your form method is post, so use POST while getting variable data $destinationCode=$_POST['destinationcode']; $numberofadults=$_POST['numberofadults']; $numberofchildren=$_POST['numberofchildren']; $startdate=$_POST['stardate']; $enddate=$_POST['enddate']; Quote Link to comment Share on other sites More sharing options...
oracle765 Posted February 9, 2014 Author Share Posted February 9, 2014 Hi PravinS Thanks for that I can get some of them to work now, because someone else wrote this code I cannot figure out how to get the ages to pass through and also the startdate and enddate are still empty, the rest are fine. you can see what I mean by the ages as they are dynamic somehow with the drop down box on compareandchoose.com.au/insurance.php I have included my webpage for clarity sake insurance.php Quote Link to comment Share on other sites More sharing options...
oracle765 Posted February 9, 2014 Author Share Posted February 9, 2014 Update managed to get the startdate and enddate through I had spelt them wrong as in stardate endate but still cannot figure out how to pass the ages through 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.