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
What are headers in php?
How to check a variable is an array or not in php?
What is zend studio for?
What is chrome logger?
How do you use an array in excel?
How can cross site request forgery csrf be prevented?
How cookies are transported from servers to browsers?
Tell me is it possible to protect special characters in a query string?
What is the use of friend function in php?
Do you know what is the function func_num_args() used for?
What php framework does wordpress use?
Write a program to display table of a number using php?
What is php artisan serve?
How can we check the value of a given variable is a number?
How is csrf token generated?