use $_POST not $_post use <?php instead of <? for maximum compatibility and the semicolons as stated above