Suppose a variable may passed to other page using any of
get,post,session,cookie methods and u want to retrive that
variable value . what is the syntax?
Answers were Sorted based on User's Feedback
Answer / deepinder
I agree with all the above answers. In addition i would
like to mention that we refer the variable with the name as
mentioned in the previous page to retrieve its value with
$_REQUEST[].
<input type="text" name="variable"> ---->previous page
$value=$_REQUEST['variable']; ------->next php page
| Is This Answer Correct ? | 4 Yes | 0 No |
How can you increase the maximum execution time of a script in php?
Is php a framework?
What is data structure in php?
How to retrieve values out of an array?
What are the uses of php language?
What is the use of preg_match in php?
How to add different images in php program like a job site.......
How can we register the variables into a session?
How will you calculate days between two dates in PHP?
To run php script on a local machine we need to install Apache http server and php. Then only scripts are run in the browsers. but when these things are not loaded on a local machine and a php script is brought by the browser still the browser displays the page. how?
Does php support polymorphism?
how to store date to database