How many ways we can pass the variable through the
navigation between the pages?
Answer Posted / devendrarjadav
There are three ways to pass variables through the
navigation between the pages.
1. Start the session, register variables that you want to
pass on subsequent pages. In subsequent pages again start
the session so you can get all the varibles that registered
with session.
2. Use query string to pass varibles.
3. With the use of form you can pass varibles which you
have used in the form to the page specified with action
attribute.
| Is This Answer Correct ? | 24 Yes | 1 No |
Post New Answer View All Answers
Why and where do we use htaccess?
What is final in php?
What is the ioncube php loader?
What is the difference between indexed and associative array?
How do I run a php script?
Can you give example for trait in php?
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?
What is $$ in php?
Do you know design patterns. List few?
What is the difference between single quoted string and double quoted string?
How can you increase the maximum execution time of a script in php?
Does cors prevent csrf?
Name some of the constants in php and their purpose.
What are variables in research examples?
What are interfaces in php?