The two query statements are different - in one you quote $id and in the other you don't. It is definitely a mysql error so it's not the line you suggested. "Karl DeSaulniers" <karl@xxxxxxxxxxxxxxx> wrote in message news:6FE62364-F9FC-4612-8C5D-6CE48FC662E5@xxxxxxxxxxxxxxxxxx >I believe this line should read.. > > ini_set('display_errors', 1); > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php