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 |
What is asort php?
How to get a total number of rows available in the table?
Is learning php easy?
Code to upload a file in PHP?
How can we encrypt the password using php?
How to Retrieve a Cookie Value?
What is a helper function?
Explain the difference between $var and $$var?
What is difference between put and post method in http?
Hello Friends,I am seeking for a job in php having 2yrs. exp.Please suggest any company openings.
Which php framework is fastest?
What the limitation of header() function in php?