MySQL Forums
Forum List  »  PHP

Re: mysql_fetch_array
Posted by: Jonathan Stephens
Date: June 26, 2005 08:34PM

$dbc=@mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) OR die('Could not connect to the database' . mysql_error());

The @ operator suppresses errors. Try removing it.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote


Subject
Written By
Posted
June 20, 2005 09:35AM
June 20, 2005 10:38AM
June 20, 2005 11:51AM
June 20, 2005 09:10PM
June 21, 2005 08:18AM
Re: mysql_fetch_array
June 26, 2005 08:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.