How many ways we can pass the variable through the
navigation between the pages?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / somnath
Using session we can pass values from one page to next page.
Also with help of form we can pass hidden values and can get
with the help of $_POST or $_GET depending on form method.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / madhuri kumari
we also use hidden type to send at subsequent page..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / jiten patel
1.Use Form to set and retrive value with in perticular page.
2.Use query string to access the values out side the form.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / mayur kannaujia
query string
session
cookie
get & post
hidden form field
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the basic steps to store PHP session in to Database?
What is the default time in seconds for which session data is considered valid?
What is new keyword in php?
How can I use the COM components in php?
1 Answers Covansys, Rushmore Consultancy,
What is strlen function in php?
Do while loops php?
What is echo and print in php?
hello.. i am b.tech 4th year student. i am confused that i should learning php or java. I have some knowledge of java and developed project in java, but i want to develop my career in php. So plz suggest me , i should go with php or java.
Is null in php?
How to remove the new line character from the end of a text line in php?
What is htmlspecialchars?
Can I run php without xampp?