Fixed comment markup and removed @ from @mysql_connect in the example.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311648 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Shein Alexey 2011-05-31 10:53:03 +00:00
parent 1bda9b3cbf
commit 789048eb9d

View file

@ -45,11 +45,11 @@
<![CDATA[
<?php
/* The users table consists of three fields:
* user_id
* username
* password.
*/
$link = @mysql_connect('localhost', 'mysql_user', 'mysql_password');
* user_id
* username
* password.
*/
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect to MySQL server: ' . mysql_error());
}