How many ways we can pass the variable through the
navigation between the pages?

Answers were Sorted based on User's Feedback



How many ways we can pass the variable through the navigation between the pages?..

Answer / gunabalans

Session
cookies
get
post
request

Is This Answer Correct ?    26 Yes 1 No

How many ways we can pass the variable through the navigation between the pages?..

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

How many ways we can pass the variable through the navigation between the pages?..

Answer / sreenia

Above all you can also pass thru cookies...

Is This Answer Correct ?    13 Yes 2 No

How many ways we can pass the variable through the navigation between the pages?..

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

How many ways we can pass the variable through the navigation between the pages?..

Answer / madhuri kumari

we also use hidden type to send at subsequent page..

Is This Answer Correct ?    2 Yes 0 No

How many ways we can pass the variable through the navigation between the pages?..

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

How many ways we can pass the variable through the navigation between the pages?..

Answer / mayur kannaujia

query string
session
cookie
get & post
hidden form field

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Will a comparison of an integer 12 and a string "13" work in php?

0 Answers  


Hi all, I have a problem in Apache on windows xp.I tried to unistall apache and install it again. But when in did the installation again, and tried to run apache, i get the following error message, Socketaddresse can just be used once. Make_sock: could not build to address 0.0.0.0.80 No listening sockets available.Shutting down Unable to open logs. and i also get (error) OS2. The system cannot fine the installed service named "Apache2". Please i need some one to help me out with this.I'm really fustrated cuz i need this stuff working as fast as possible. PLEASE HELP ME

2 Answers  


Which operator is used to concatenate two strings in PHP?

0 Answers  


What is the default time of cookie in php?

0 Answers  


What is a php tag?

0 Answers  


Write a program to display table of a number using php?

0 Answers  


What does $_server mean?

0 Answers  


what is the use of include_once in php?

0 Answers  


What is use of in_array() function in php?

0 Answers  


Which is true about the singleton design pattern?

0 Answers  


Which function would you use to determine the length of a string in php?

0 Answers  


How does html form submit work?

0 Answers  


Categories