what is wrong in theses statement? $sql = "insert into Links values('URL','Title','Description','Email','SubmitURL','ContactedOn') VALUES ('{$arr[0]}','{$arr[1]}','{$arr[2]}','{$arr[3]}','{$arr[4]}','{$arr[7]}')"; it gives me the 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 'VALUES ('http://www.shinku.com/','http://www.online-store-list.com/','"Www.onlin' at line 2
I don't know why this would not work: $sql = "INSERT INTO Links (URL, Title, Description, Email, SubmitURL, ContactedOn) VALUES ('{$arr[0]}', '{$arr[1]}', '{$arr[2]}', '{$arr[3]}', '{$arr[4]}', '{$arr[7]}')"; PHP: How you considered whether or not you need to use addslashes() for the data you are inserting into your db?