svn: /phpdoc/en/trunk/reference/mysql/functions/ mysql-field-name.xml
| From: | Shein Alexey | Date: | Tue, 31 May 2011 10:53:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysql/functions/ mysql-field-name.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8193@lists.php.net to get a copy of this message | ||
shein Tue, 31 May 2011 10:53:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311648
Log:
Fixed comment markup and removed @ from @mysql_connect in the example.
Changed paths:
U phpdoc/en/trunk/reference/mysql/functions/mysql-field-name.xml
Modified: phpdoc/en/trunk/reference/mysql/functions/mysql-field-name.xml
===================================================================
--- phpdoc/en/trunk/reference/mysql/functions/mysql-field-name.xml 2011-05-31 10:50:45 UTC (rev
311647)
+++ phpdoc/en/trunk/reference/mysql/functions/mysql-field-name.xml 2011-05-31 10:53:03 UTC (rev
311648)
@@ -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());
}