I have a little problem with my if(isset($_POST[\'submit\'])) code. What I want is some echos and a table to not appear when the script is open but I do want it
if(isset($_POST[\'submit\']))
Another option is to use
$_SERVER['REQUEST_METHOD'] == 'POST'