newbie post question.
Posted: Wed Mar 10, 2004 10:49 pm
i started using php a while ago, but quit because i couldnt afford, or find for free, a good mysql php server. now i've got apache set up on my machine, and php and mysql as well..
i had some code that i've used before that i know should work that will not work. i've tried to figure it out myself, but dont know enough. i've got it narrowed down to this:
after submitting a choice on this page, it just reloads, but doesnt display it...
http://68.41.89.22/idiote.php <-- the page itself.
http://68.41.89.22/test.php <-- my phpinfo() page(if that helps)
are there variable or setting i need to change? thanks a lot.
-nick podges
i had some code that i've used before that i know should work that will not work. i've tried to figure it out myself, but dont know enough. i've got it narrowed down to this:
Code: Select all
<?
if ($submit){
echo $radio;
}
?>
<form action="<?echo $PHP_SELF?>" method=POST>
<input type="radio" name="radio" value="male"> Male
<input type="radio" name="radio" value="Female"> Female
<input type="submit" name="submit" value="Submit!">
</form>http://68.41.89.22/idiote.php <-- the page itself.
http://68.41.89.22/test.php <-- my phpinfo() page(if that helps)
are there variable or setting i need to change? thanks a lot.
-nick podges