this is more a php question then mysql, but if you put a @ before the commands that are giving you warnings, it should cause it to not show them
@mysql_connect(...) and you might also be looking for the php function error_reporting( [ int level ] ) On Tuesday 04 March 2003 13:55, you wrote: > 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 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > --------------------------------------------------------------------- > 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 -- mysql, sql, query, sql, sql, sql --------------------------------------------------------------------- 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