Re: Error Handling in PHP
| From: | Peter Misun | Date: | Mon, 12 May 2003 10:34:05 +0000 |
| Subject: | Re: Error Handling in PHP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19861@lists.php.net to get a copy of this message | ||
i think, you can use @ char like this: @mysql_connect(...
5o
Guru P Chaturvedi wrote:
> Hi,
>
> I an having some scripts to display formatted error message as below. But i
> am not able to stop the default error display by PHP. what i actually want
> is i want only the table to appear but not the default error message. Are
> there anyways?
>
> Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL
> server on '65.107.23.231' (10060) in
> F:\sites\phpRnD\guru\download-doctor\site\boffice\bologin.php on line 28
> Database Operation Failed
> The database operation failed. Please try again. If the problem
> persists please contact the Web Master. The server returned following
> information:
>
> 2003: Can't connect to MySQL server on '64.106.203.230' (10060)
>
> with Warm Regards,
> Guru.
> ---------------------------------------
> Phone: (+91)9845290270
> URL: www.gangarasa.com
> Yahoo IM: guru4vedi
> MSN: guru4vedi@gangarasa.com
> ---------------------------------------