Re: Variables and http

From: Date: Thu, 05 Dec 2002 10:26:06 +0000
Subject: Re: Variables and http
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-127125@lists.php.net to get a copy of this message
Are you saying this is coming from a form entry? If so and you have PHP > 4.1 then use: $_GET['chp1'] OR $_POST['chp1'] Depends if it is get or post data!! If you have pre 4.1 use the var name eg. $chp1 etc etc Timothy Hitchens (HiTCHO) tim@hitcho.com.au If you need PHP hosting with an experienced support team 24/7 then email me today. On Thu, 5 Dec 2002, hacook wrote: > Hi all, > I have a page (to create a database) with X text fields called chpX (chp0, > chp1, chp2..Etc) that posts these variables to a php file. > I would like to know how can i get these values ? (I have also the $i > variable that tells me what is the max X) > > Thanks, > Hacook > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#127125) next »