I have no problem connecting to a database using PHP however in some scripts I have tested, I have seen a small difference in the connect command.
What is the differenc
The @ supresses warnings http://php.net/manual/en/language.operators.errorcontrol.php use it wisely