You have a little typo in the third line:
$email = mysql_real_escape_string(strip-tags($_POST['email']));
should be
$email = mysql_real_escape_string(strip_tags($_POST['email']));
And have a look at the comments, they are quite important.
0
solved 500 Internal Error, Whats wrong with my code? [closed]