Quote:
Originally Posted by kh99
That's a good thought, but in the case of a connection error the echo line wouldn't execute because die() ends the script.
|
Ah!
So maybe instead of
PHP Code:
die(mysql_error())
He could use
PHP Code:
or echo("mysql_error()")
?
Please don't bash me if the above doesn't work, I'm not experienced and I'm also not sure if "or" works with echo.