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
How long does a session last in php?
What are the two most common ways to start and finish a php block of code?
What is the use of callback in php?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
How to remove the new line character from the end of a text line in php?
Does php need apache?
What is the difference between explode () and split () functions in php?
What distinguishes php from something like client side java script?
What is array filter php?
What is the difference between unset and unlink?
How do I escape in php?
What is associative array in php?
Which function is used in php to count the total number of rows returned by any query?
Does exist in php?
What are the characteristics of php variables?