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 |
Why do we use session?
What are escaping characters? Explain with an example?
What is difference between Method overriding and overloading in PHP?
How can I increase my website session?
What is inheritance in php? How many types of inheritance supports php?
Tell me is it possible to protect special characters in a query string?
How do you destroy a session?
Does wordpress still use php?
How can we extract string 'abc.com' from a string "http://info@abc.com" using regular expression of PHP
What are the differences between GET and POST methods?
What php framework does wordpress use?
Explain me what is the use of header() function in php?