> From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
>
>
> 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">
<select name="theme">';
for($i=0;$i<sizeof($theme_name);$i++)
{
echo "<option value='".$i."'>".$theme_name[$i]."</option>\n";
}
echo '</select> <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
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php