我的mysql代码出了什么问题? [关闭]

May be it's almost 2 hours and I couldn't find the fault of my code.

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 '' at line 3

$sql="INSERT INTO information ( Username, Email, Password, Name, Phone, Street, 
City, Country, Website, Gender, Day, Month, Year, Hometown, Accept )
VALUES
('$_POST[user]','$_POST[email]','$_POST[pass]','$_POST[first]','$_POST[phone]',
'$_POST[street]','$_POST[city]','$_POST[country]','$_POST[url]', '$_POST[sex]',
'$_POST[day]','$_POST[month]','$_POST[year]','$_POST[home]','$_POST[accept]'";

looks like you forgot the ending parenthesis ')'

It looks like your forgot to close your parenthesis. Also please sanitize your input, that is a terrible concept you're using

Missing the closing parenthesis on the VALUES clause...and use prepared statements.