Switching to pdo won't necessarily remove sql errors any more than using a php framework will remove php errors.
Thanks, Ash http://www.ashleysheridan.co.uk ----- Reply message ----- From: "kranthi" <kranthi...@gmail.com> Date: Mon, Oct 4, 2010 09:04 Subject: [PHP] Syntax Error To: <a...@ashleysheridan.co.uk> Cc: "chris h" <chris...@gmail.com>, "Gary" <gp...@paulgdesigns.com>, <php-general@lists.php.net> As pointed out echo $insertSQl should help you locate many trivial problems. But using PDO will avoid these kind of problems -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php