September 7th, 1999, 02:33 PM
one of my php3 page passes values to another php3 page.
What are the commands to get/process the passed value?
both the scripts or PHP3.
Any help is appreciated.
September 7th, 1999, 04:06 PM
The value will automatically be available to your script as a variable.
With the URL:
The "searchit.php3" script will automatically have a variable called "$variable" whose value will be "value".
PS - If the value that you are passing is generated by user input, make sure you use the function urlencode() for your query string and the function addslashes() for your database query.
$url = "www.pricelane.com/searchit.php3?variable=" . urlencode(value);
For more info: