I'm trying to make a simple form to understand better whgat I'm doing for a project I'm working on. I went to
http://codewalkers.com/tutorials.php?show=12
They have a simple example how forms work with PHP and the Post Function.
which is..
<?
if(isset($_POST['mybutton'])) {
echo "Great! You clicked the button!\n";
} else {
echo "Hmm...you must have come to this script without clicking the button.\n";
}
?>
I copy it and pasted and I get a parse error. Is there something in there that I'm missing?