SyntaxFix
Write A Post
Hire A Developer
Questions
Before you extract values from $_POST, you should check if they exist. You could use the isset function for this (http://php.net/manual/en/function.isset.php)
$_POST
isset