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
Tell me what should we do to be able to export data into an excel file?
Does browser understand php?
What is the definition of a session?
Which function(s) in PHP computes the difference of arrays?
Will a comparison of an integer 12 and a string "13" work in php?
Explain some of the php array functions?
How to replace a substring in a given string?
What is $_ files in php?
Which is better php or nodejs?
How to connect to mysql from a php script?
Why do you need to filter out empty files?
How do you check if a variable has not been set in php?
what the new feature add in php 7.2?
What is difference between include and include_once in php?
Which function is used to read a single character from a file in PHP.