mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
1bda9b3cbf
commit
789048eb9d
1 changed files with 5 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue