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 is good average session duration?
Explain the differences between get and post methods?
What is the purpose of the '.myi' file extension? What do thes file contain?
What can php do?
what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons
What is the difference between null and empty?
How can you get, the total size of a certain directory?
Does php need apache?
Who is the father of PHP and explain the changes in PHP versions?
13 Answers Befree, iMark Group, Netizen,
How does firefox manage cookies?
1. Create student database. 2. First page should display the students available in the database. There should be add, edit and delete buttons. 3. There should be option to search students by name, code, date of joining, department or combination of these. 4. Should have an add/edit screen. Add and Edit should be handled in the same page. 5. Delete should ask for confirmation before deleting the actual record. 6. Validation should be done in JavaScript as well as php.
What is difference between session and cookie in PHP?