At 11:28 AM 2/22/2001 -0600, samsom, debra wrote:
>I would Like to Turn Off the following MySQL Connect Warning message.   Any
>Suggestions???
>
>Warning: MySQL Connection Failed: Can't connect to MySQL server on
>'localhost' (10061) in e:\program files\apache
>group\apache\htdocs\dwg\dwg.php on line 22
>Server Currently Unavailable
>
>This is the code that is returning the above error message.
>
>mysql_connect("localhost","root","")
>     or die ("Server Currently Unavailable");

@mysql_connect("localhost","root","") or die ("Server Currently Unavailable");

Put the @ in front to suppress error messages.

-------------------------------------
Scott Baker - Webster Internet - Network Technician
503.266.8253 - [EMAIL PROTECTED]

"Children today are tyrants. They contradict their parents, gobble their 
food, and tyrannize their teachers." - Socrates




---------------------------------------------------------------------
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

Reply via email to