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?
Answer Posted / 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 |
Post New Answer View All Answers
Why did you choose this particular career path?
What are html entities?
What is the difference between php4 and php5?
What is the use of "enctype" attribute in a html form?
What does the php error 'parse error in php - unexpected t_variable at line x' means?
What is the use of extract function in php?
How to remove the new line character from the end of a text line in php?
What language is php written in?
What is user defined function in php?
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
What is list function with their uses.
What is an anti csrf token?
What is isset function in php?
What is instantiation?
How do I update php?