$ProjectName = $_POST['ProjectName'];
$ProjectModule = $_POST['ProjectModule'];
$ProjectDescription = $_POST['ProjectDescription'];
$sql = "INSERT INTO database (ProjectName,ProjectModule,ProjectDescription) VALUES (". mysql_real_escape_string($ProjectName) .",".mysql_real_escape_string($ProjectModule).",".mysql_real_escape_string($ProjectDescription).")";
I'm facing below 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 'database (ProjectName,ProjectModule,ProjectDescription) VALUES (sankaran,sankar' at line 1
What's the solution please say me