PHP passing variables

mohamedismail

New member
Joined
Oct 1, 2013
Messages
3
Points
0
Hello,

How many ways we can pass the variable through the navigation between the pages?
 

Peter

Member
Joined
Jul 7, 2012
Messages
58
Points
0
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!
 

SimplyDigitalHosting

New member
Registered
Joined
Oct 5, 2013
Messages
5
Points
0
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
3,551
Replies
2
Views
5,220
Replies
0
Views
1,930
Replies
3
Views
2,677
Replies
7
Views
4,575
Newer Threads
Latest Threads
Replies
0
Views
123
Replies
1
Views
79
Recommended Threads
Replies
9
Views
4,913
Replies
6
Views
2,310
Replies
2
Views
2,754
Replies
10
Views
4,277

Latest Hosting OffersNew Reviews

Sponsors

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