RE: [PHP] dropdown Newbie question

From: Date: Thu, 05 Sep 2002 14:37:27 +0000
Subject: RE: [PHP] dropdown Newbie question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115318@lists.php.net to get a copy of this message
> From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com] > > > Did you put a closing form tag? </form> you are right, the closeing tag was missing, well, it still doesnt work/stays emty ;/ // Theme echo ' <form name="theme" action="options.php" target="right" class="menu" method="POST"> &nbsp;&nbsp;<select name="theme">'; for($i=0;$i<sizeof($theme_name);$i++) { echo "<option value='".$i."'>".$theme_name[$i]."</option>\n"; } echo '</select>&nbsp;&nbsp;<input type=submit name=get value=select>'; echo '</form>'; //i tried it here $var_from_dropdown = $_POST['theme']; exec("echo $var_from_dropdown > /tmp/varfromdropdown"); //echo '</form>'; //and here, to be sure. Of course never toghether! Mario > > Jay > > >

« previous php.general (#115318) next »