Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP How many ways we can pass the variable through the navigation between the pages?

Have Programming Question? Ask it here!
 
 
 


brijesh
How many ways we can pass the variable through the navigation between the pages?
1 Answer(s)      3 years and 8 months ago
Posted in : PHP


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


Advertisement
View Answers

November 15, 2010 at 6:06 PM


Hi everyone,

At least 6 ways:

  1. Put the variable into session in the first page, and get it back from session in the next page.
  2. Put the variable into cookie in the first page, and get it back from the cookie in the next page.
  3. Put the variable into a hidden form field, and get it back from the form in the next page.
  4. Using post
  5. Using get
  6. Using request

Thanks



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com