-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 As far as suppressing errors you can suppress them in PHP by putting an "@" symbol in front of the function call, i.e. $result = @mysql_fetch_array($sql);
HTH & HAND, Bryant Hester - -----Original Message----- From: databarn [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 1:55 PM To: MySQL Subject: Warning suppression? Folk, I'm not having a lot of success with my provider, so I'll ask here. Is there any way to turn _show warnings_ off from script? I cant seem to find anything relevant. I'm getting a warning that, "Supplied argument is not a valid MySQL result resource . . .". I don't see any way to test for this. Have I overlooked something? Or can I disable the warnings from PHP? Or am I just stuck with this? Make a good day . . . . . . barn ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "If you can't beat them, arrange to have them beaten." -George Carlin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPmUFIElWu7/HFp4nEQIPywCghakyT8lOvKW+jivMaXBhp7PnJokAn1Ye +PI+Wj/0dgE6M6fwjqb4ilOg =MWHu -----END PGP SIGNATURE----- --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php