form that I am displaying with the $_POST. Once i have
echo'd out this data onto the next page, i'd like to continue to use
it on the next page without submitting it through a form action. I haven't figured out how to do this properly
just yet
example.
Expand|Select|Wrap|Line Numbers
- //first page (index.html)
- <form action="check.php" method="post">
- <select name="rooms">
- <option value="1">1</option>
- </select>
- <select name="adult">
- <option value="1">1</option>
- </select>
- <input name="submit" type="submit">
- </form>
- //new page (check.php)
- <?php
- echo "You're booking Details are: {$_POST['rooms']}";
- echo " {$_POST['adult']}";
- ?>
- ////
across multiple pages?
Any help is much appreciated..thanks guys!