-
Carrying Variables
On my login page (http://mburt.mb.funpic.org/login_page.php > login with username "user" and password "test") I want to carry the variable: ?user=user from page to page. I can get it to carry over to the index.php, which in the address bar will appear index.php?user=(username here), but then when you go to another page, it's gone. How can I carry this variable over from page to page?
- Mike
-
-
-
-
Doing it manually is also possible, but this would require manually adding it to each link (via php, but typing that in for each a tag), and adding a hidden value to all forms, as well as working out a solution for any other links/etc.
So.... use sessions.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks