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 php is better?
Why session is required?
Who is the father of PHP and explain the changes in PHP versions?
13 Answers Befree, iMark Group, Netizen,
This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ?
How to select a database?
What is the difference between php and cakephp?
What is difference between strstr() and stristr() in PHP?
Which is faster for or foreach?
Explain the types of functions for Splitting String?
How to declare an array in php?
How can we display information of a variable and readable by a human with php?
How can we take a backup of a mysql table and how can we restore it. ?
7 Answers Brain Infosys, Oracle,