You are here: Re: PHP error if MySQL server is down « All PHP « IT news, forums, messages
Re: PHP error if MySQL server is down

Posted by Jim on 12/16/05 19:14

> Either try to put @ ('at' sign) at the mysql_connect function like:
>
> $link = @mysql_connect($db_host,$db_user,$db_password);
>
> and see if it works...
>
> or switch off the warnings somewhere in config variables, runtime or
> global. I'm not sure which ones, I have to look into manuals to find out
> the exact way. Shall I? :)

@mysql_connect works perfect! Thank you very much for you help :-)))

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация