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

What is $_ get?

726


In php how can you jump in to and out of "php mode"?

753


What is difference between session and cookies in php?

682


Tell me in php, objects are they passed by value or by reference?

729


Write a hello world program using variable?

725


Explain the difference between $message and $$message?

750


Which of the data type is compound datatype supported by PHP?

766


What exactly is validating and sanitizing?

790


What is an example of a variable?

742


Is php easier than javascript?

731


How can you associate a variable with a session?

774


How to delete an element from an array?

768


What are the advantages of indexes?

680


What is session in PHP. How to remove data from a session?

697


What is the use of $_server["php_self"] variable?

702