I'm in a bit of a pickle using the submit button in php. Here's the code I want to run (it's for a website where you rate things, if that helps any):
<form method="POST">
<input type="radio" name="person" value="1" />
<input type="radio" name="person" value="2" />
<input type="submit" name="submit" />
</form> 
<?php;
    $_variable1 = 1400
    function ratePerson($person)
     {
         $_variable1+1
         echo $_variable1
     }
     if (isset($_POST['submit']));
     {    
         $person = $_post['person'];
         echo $person;
         ratePerson($person)
     }
echo $_variable1     
?>
So, when I run this the submit button and both radio buttons appear and I can click one of them and hit submit, it's just that when I hit a button and hit submit, nothing happens, there is no printed value (echo), I dont know if the +1 is working, it's a mess. I haven't done a lot in php, so please excuse my ignorance.
I got this piece of code from a friend, so if you want to suggest your own solution, go right ahead.
Thanks for all the help!
 
     
     
    