This is very simple To access variables from GET form, which you would use request.querystring( ) for in ASP, use the $_GET array in PHP, e.g. $var = $_GET{'var'} To access POST form values, which you would use request.form( ) for in ASP, use the $_POST array in PHP e.g. $var = $_POST{'var'}.
Cheers! Scott On 10/2/2002 1:24 PM, Remon Redika wrote: > I am newbie in php > I have var $query_string in my address page. > I want get value of query string. > For example I give string on my query string like > www.mypages.com?var=numberx > I just want get a value of var or "numberx" > I usually do this var on asp > request.querystring("var") , so I'll get the value = "numberx" > how i do it on php...? > sorry about my English. -- //--------------------------------------------// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business Innovation // // +27 21 4477440 / +27 82 4918021 // //--------------------------------------------// -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php