Re: newbie question

From: Date: Thu, 03 Oct 2002 09:14:08 +0000
Subject: Re: newbie question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-118714@lists.php.net to get a copy of this message
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 // //--------------------------------------------//

« previous php.general (#118714) next »