I've put the @ symbol before mysql_connect() and that will suppress the PHP errors that get written to the user's browser if there is an issue (like if the password is incorrect, for example).
If the database is having an issue, though, there doesn't seem to be a way around the errors. For exmple, our passwords on the server got corrupt and the @ before the function didn't stop the errors from appearing. It's very frustrating because there doesn't seem to be a way to kill all errors.
Any thoughts are appreciated!
If the database is having an issue, though, there doesn't seem to be a way around the errors. For exmple, our passwords on the server got corrupt and the @ before the function didn't stop the errors from appearing. It's very frustrating because there doesn't seem to be a way to kill all errors.
Any thoughts are appreciated!