I know what you can do if you use php: prefix the function in
question with @, that will turn errors off. Example:

@mysql_connect(....

instead of

mysql_connect(....

Christian Eichert schrieb am Freitag, 24. August 2001, 12:47:55:

> Hi

> How can I turn off the error displaying ...
> sometimes when the script could not connect to the DB or in fact I do not
> want to show these Errors at all

> OK for things like MYSQL_CONNECT or MYSQL_SELECT_DB I use OR DIE ....

> but what can I use for query's inside of other select's ...
> I can't put OR DIE there it's to complicated
> I like to turn off the error handling completly...
> or is there an other elegant method?

> mfg
> Christian Eichert
> +49 177 545 7378
> [EMAIL PROTECTED]


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



Herzlich
Werner

-- 
MySQL in Deutschland: Anpassung, Unterstützung, Schulung für Sie
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Dr. Werner Stürenburg <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Consultant
/_/  /_/\_, /___/\___\_\___/   Bielefeld, Germany
       <___/   www.mysql.com   +49-5224-997-407  Fax -409



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