Re: Submitting a Form

From: Date: Tue, 17 Dec 2002 17:41:37 +0000
Subject: Re: Submitting a Form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128588@lists.php.net to get a copy of this message
On Tuesday 17 December 2002 18:38, Jay Thayer wrote: > 1. Any reason that I can not pass the variable to the submit page? I am Try $_REQUEST['Test'] and look in the manual, the archives or a PHP-FAQ for "register_globals". > 2. If I have a <select name="testmultiple" multiple> HTML tag, how can I > reference the x# of variables that are selected in that form value in the > submittest page? I would want to get every option that is selected in the > page. set the name to testmultiple[] then You get an array. <select name="testmultiple[]" multiple> <?php $first=$_REQUEST['testmultiple][0]; ?> > 3. Is there a variable so that I can see everything that is passed from the > form, some debug variable I could "print()" to see everything that was > passed from the form? $_REQUEST johannes

« previous php.general (#128588) next »