cvs: phpdoc-es /reference/mysql/functions mysql-field-name.xml
| From: | Enrique Garcia Briones | Date: | Wed, 15 Sep 2004 13:55:00 +0000 |
| Subject: | cvs: phpdoc-es /reference/mysql/functions mysql-field-name.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-704@lists.php.net to get a copy of this message | ||
baoengb Wed Sep 15 09:55:00 2004 EDT
Modified files:
/phpdoc-es/reference/mysql/functions mysql-field-name.xml
Log:
Actualizacion
http://cvs.php.net/diff.php/phpdoc-es/reference/mysql/functions/mysql-field-name.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-es/reference/mysql/functions/mysql-field-name.xml
diff -u phpdoc-es/reference/mysql/functions/mysql-field-name.xml:1.2
phpdoc-es/reference/mysql/functions/mysql-field-name.xml:1.3
--- phpdoc-es/reference/mysql/functions/mysql-field-name.xml:1.2 Fri Jul 16 12:24:32 2004
+++ phpdoc-es/reference/mysql/functions/mysql-field-name.xml Wed Sep 15 09:55:00 2004
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.10 Maintainer: baoengb Status: ready -->
<!-- splitted from ./es/functions/mysql.xml, last change in rev 1.1 -->
-<!-- last change to 'mysql-field-name' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.9 Maintainer: baoengb Status: ready -->
<refentry id="function.mysql-field-name">
<refnamediv>
<refname>mysql_field_name</refname>
@@ -42,9 +42,9 @@
* username
* password.
*/
-$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
-if (!$db_selected) {
- die('Could not set $dbname: ' . mysql_error());
+$link = @mysql_connect('localhost', 'mysql_user', 'mysql_password');
+if (!$link) {
+ die('Could not connect to MySQL server: ' . mysql_error());
}
$dbname = 'mydb';
$db_selected = mysql_select_db($dbname, $link);