dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Question about boxes query errors


From: Laurent Destailleur (eldy)
Subject: Re: [Dolibarr-dev] Question about boxes query errors
Date: Sun, 26 Aug 2012 15:56:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

Answer is "add a line to the box with $db->error and the sql executed"


Le 25/08/2012 08:09, Marcos García a écrit :
Hi,

I'm looking into some boxes .php files and I see that some of them, when a SQL error is found, print a dol_print_error and others just add a line to the box with $db->error and the sql executed.

What should be the appropiate way?

Thanks.

Regards,
 
Marcos García
address@hidden



_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


-- 
Eldy (Laurent Destailleur).
---------------------------------------------------------------
EMail: address@hidden
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: address@hidden
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: address@hidden
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]