Re: [PHP] the best so far

2001-02-17 Thread php3
Addressed to: "Richard Lynch" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Richard Lynch" <[EMAIL PROTECTED]> Fri, 16 Feb 2001 17:21:03 -0600 > > Do you get the line number and filename of the script that *called* the > query function, or is it always the query func

Re: [PHP] the best so far

2001-02-16 Thread php3
Addressed to: "Richard Lynch" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Richard Lynch" <[EMAIL PROTECTED]> Thu, 15 Feb 2001 19:54:55 -0600 > Does die() give you a line number? If not, just put it in there. No, die() does not add to your message. Here is how

Re: [PHP] the best so far

2001-02-15 Thread Richard Lynch
inal Message - From: Christian Dechery <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, February 15, 2001 6:30 PM Subject: [PHP] the best so far > this is the best I got so far, for treating any sql syntax errors as normal > ERROrs and halting the parsing to report it. &

[PHP] the best so far

2001-02-15 Thread Christian Dechery
this is the best I got so far, for treating any sql syntax errors as normal ERROrs and halting the parsing to report it. like: SQL Syntax Error: '$query'\n"; $msg.="[".mysql_errno()."]" ".mysql_error()."at $errline"; die($msg); } ?> anyone has a 'less