Posted by lorento on 09/27/06 12:46
Girish wrote:
>
> http://xxxx/get_variables.php?form_variable=value1&form_variable=value2&form_variable=variable
Above request will be read by php like this:
$_REQUEST["form_variable"] = "value1";
$_REQUEST["form_variable"] = "value2";
$_REQUEST["form_variable"] = "value3";
so only the last value will be the result. Because the first will be
replaced with second value and second value will be replace with the
last value. I think its better you use different variable name.
http://xxxx/get_variables.php?form_variable1=value1&form_variable2=value2&form_variable3=variable
You can get all the values of above variables.
---
http://www.theukmap.com
http://www.theaussiemap.com
[Back to original message]
|