Re: mysqli question
| From: | Peet Grobler | Date: | Sun, 13 Nov 2011 06:03:58 +0000 |
| Subject: | Re: mysqli question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315663@lists.php.net to get a copy of this message | ||
On 2011-11-13 1:42 AM, Tommy Pham wrote:
>> or db_error ($dbh, $__FILE__, $__LINE__);
>
> __FILE__ are reserved keywords __LINE__. If you intended to use
> variables represent the similar meaning, the suggested approach would
Yes, sorry, was a bit quick there - I'm using __FILE__ __LINE__ to
indicate the file/line where the query failed to the error-handling
function.