On Mon, Oct 20, 2003 at 05:28:08PM -0500, Joseph Bannon wrote:
:
: How do you print the error message sent back from MySQL?
:
: $resultCC = mysql_query($queryCC) or die("???");
Stop using stupid Perl syntax.
$res = mysql_query($query);
if ($res === false)
{
Joseph Bannon wrote:
How do you print the error message sent back from MySQL?
$resultCC = mysql_query($queryCC) or die("???");
??? = mysql_error()
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
How do you print the error message sent back from MySQL?
$resultCC = mysql_query($queryCC) or die("???");
J.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo