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) [EMAIL PROTECTED] 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php