Well, I suppose I should say "Doh!" but even when I get rid of the
"@", I still get a blank page - no errors, and no database, either!
A followup - I'm taking this over to PHP-DB since it's now
database-centric, I think.
This still fails:
$db = new mysqli(
But this works
$conn
Linux NG/Lists wrote:
get rid of the @, it will squelch your error output
if (mysqli_connect_errno())
{echo 'Error could not connect to database.';
exit;
}
?>
put something at the end like [DONE] or something so you can see if it is getting past that if
statement.
--
Jim Lucas
"Some
comex wrote:
On 8/24/07, Linux NG/Lists <[EMAIL PROTECTED]> wrote:
b) Why does the error reporting NOT work as soon as I jam a $db new
mysql call into the code?
Because you disabled it with an '@'.
Well, I suppose I should say "Doh!" but even when I get rid of the
"@", I still get a b
On 8/24/07, Linux NG/Lists <[EMAIL PROTECTED]> wrote:
> b) Why does the error reporting NOT work as soon as I jam a $db new
> mysql call into the code?
Because you disabled it with an '@'.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo