PHP passing variables

Joined
Jul 7, 2012
Messages
59
Best answers
0
Ratings
7
Points
0
#2
Hello,

How many ways we can pass the variable through the navigation between the pages?
We have at least 3 ways
- Using session in first page and getting in next page
- Using cookie in first page and getting in next page
- Using hidden form field in first page and getting in next page

Hope it's useful for you!
 
Joined
Oct 5, 2013
Messages
5
Best answers
0
Points
0
#3
In the end you will be accessing it via $_COOKIE, $_SESSION, $_GET, $_POST, or $_REQUEST (both get/post). The info Peter gave is how it would be passed to get accessed via those methods.
 
Older Threads
Replies
4
Views
2,090
Replies
2
Views
4,187
Replies
0
Views
1,137
Replies
3
Views
1,550
Replies
7
Views
3,297
Newer Threads
Latest Threads
  • Deleted
  • Deleted by fwh
Replies
0
Views
4
Replies
0
Views
32

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top