Help me out, Im using localhost and getting this error whenever i fill out the form and click on submit button
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''aw-tech'.'contact' (name, email, phone, question) VALUES ('prince', 'khan@princ' at line 1
My PHP CODE SQL
mysql_select_db("aw-tech", $con);
$sql = "INSERT INTO 'aw-tech'.'contact' (name, email, phone, question)
VALUES ('$_POST[name]', '$_POST[email]',
'$_POST[phone]', '$_POST[question]')";