Forum Moderators: coopster
Would I be using cookies for this? is there a simpler way I don't know about?
the script should have a list of all available variables and a print command for each.
So if a user clicks on your first faq the query would be...?faq=1
Then the script would look through a text file or include to determine what happens with this variable.
The script then prints the info for faq one on screen.
You might wish to have a look through hotscripts etc. There are a lot of scripts "out the box" that do just this.
Hope this helps.
Mack.
But anyway, I'm printing out links for the questions, and I want to direct to the next page, giving this page what link I chose. Basically I want to make it the same page cause I want to save myself some time. Just use the same page over and over, and retieve the answer from the database..
I'm not quite sure on the "click a link" and "telling the next page what link I clicked" part.
Little help?
The id will then show up the the questions.php page as the get variable $HTTP_GET_VARS['id']. Now you just take the id and do a lookup for it in your db and display whatever it is you want to display.