passing php variables
passing php variables
Out of context: Reply #2
- Started
- Last post
- 14 Responses
- enobrev0
well, one page to the next through a link is generally through the link itself:
nextpage.php?var1=value1
If you want to hide the variable from the user you'll want to look into sessions as previously mentioned or cookies.
Also, you could hold a value in a db and just have a session_id or user_id held in the url params (above) or session / cookie. Then on the next page, call up the record of the user's session.