
September 7th, 1999, 04:06 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
The value will automatically be available to your script as a variable.
With the URL:
www.pricelane.com/searchit.php3?variable=value
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:
urlencode():
http://www.php.net/manual/ref.url.php3
addslashes():
http://www.php.net/manual/ref.strings.php3
|