Posted by MsKitty on 02/06/06 06:20
I tried a version of your script on my server and it worked fine - I
also tried changing the _POST to HTTP_POST_VARS (as Iván was
suggesting) which also worked - here is the sample:
<?php
if($HTTP_POST_VARS['testform']) {
print_r($HTTP_POST_VARS);
exit;
}
?>
<form name="testform" action="<?php echo $PHP_SELF; ?>" method="post">
<?php
print "<select name='id'>
<option value=\"1\" >1</option>
<option value=\"2\" >2</option>";
echo "</select>";
echo "<input type='submit' value='Submit' name='testform'>
<input type='reset' value='Reset' name='reset'>
</form>";
?>
Kitty
OpenSkyWebDesign.com
Navigation:
[Reply to this message]
|