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 does header() work . What do they tell the server same question for SESSIONS
What is the purpose of php?
how to add file in php?
Is php 5.6 secure?
How to use the COM components in PHP?
What is difference between print and echo in php?
How to convert a character to an ascii value?
What are the difference between echo and print?
What does $_cookie means?
am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.
How will you calculate days between two dates in PHP?
Explain what is the difference between $var and $$var?