e.g. I fill in a form for an inquiry on a used car. Then all the other used car inquiry forms will contain the value that I used in the previous form.
How can you create the variables that will used again on another page.
7:40 am on Sep 17, 2012 (gmt 0)
assuming all of your pages are in the same domain, $_SESSION is one way to do what you want. After submitting your form, you can assign $_POST data to $_SESSION for example: session_start(); $_SESSION['myVar'] = $_POST['myVar'];
session_start() must be always ontop of all your scripts if you're gonna use sessions.