Re: HTTP_POST_VARS

From: Date: Thu, 28 Dec 2000 23:44:56 +0000
Subject: Re: HTTP_POST_VARS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32176@lists.php.net to get a copy of this message
Jonathan: > If I have an array of say check boxes foo[] which has 3 elements selected > when the form is submitted. (so $foo[0], $foo[1], $foo[2]) how will these be > accessable via the HTTP_POST_VARS? > > Would it be HTTP_POST_VARS['foo'][0], HTTP_POST_VARS['foo'][1], > HTTP_POST_VARS['foo'][2]? Trust you already figured out you're right by making a simple test script. --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#32176) next »