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


Please Help Members By Posting Answers For Below Questions

Is php front end or back end?

513


How to call javascript function in php on button click?

515


What u mean by query?

486


How we get ip address of client, previous reference page etc?

567


Why do you need to filter out empty files?

536






Tell me what does the array operator '===' means?

533


What is php variable?

527


What is php destruct?

533


What does a delimiter do in mysql?

537


List the different types of print functions available in php?

557


What does the php error 'parse error in php - unexpected t_variable at line x' means?

625


How to convert a string to uppercase in php?

549


What is the difference between runtime exception and compile time exception?

549


Why use php artisan serve?

507


How to remove the new line character from the end of a text line?

518