Go here: http://pear.php.net/manual/en/package.database.db.db-error.php and read. -----Original Message----- From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Urb LeJeune Sent: Tuesday, November 22, 2005 3:28 PM To: php-objects@xxxxxxxxxxxxxxx Subject: Re: Pear DB >it would be helpful to know the whole error along with the lines of >code 5 prior and after which it reports back DB Error: syntax error Is the entire error message on screen. I'm not sure where the error is being producted. I'm look for a way to get the MySQL error number or error message. Is there a setting somewhere in Pear::DB that can be set to product that information? Urb PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/