cvs: phpdoc-da /reference/mysql/functions mysql-field-name.xml

[email protected] ("Mads N. Vestergaard") Sun, 19 Sep 2004 10:12:00 -0000
Newsgroups php.doc.da
Message-ID <cvsmnv1095588720@cvsserver>
mnv		Sun Sep 19 06:12:00 2004 EDT

  Modified files:              
    /phpdoc-da/reference/mysql/functions	mysql-field-name.xml 
  Log:
  Sync with EN
  
  
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-field-name.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-field-name.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-field-name.xml:1.1 phpdoc-da/reference/mysql/functions/mysql-field-name.xml:1.2
--- phpdoc-da/reference/mysql/functions/mysql-field-name.xml:1.1	Sun Aug 29 07:46:34 2004
+++ phpdoc-da/reference/mysql/functions/mysql-field-name.xml	Sun Sep 19 06:12:00 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- EN-Revision: 1.9 Maintainer: mnv Status: ready -->
+<!-- EN-Revision: 1.10 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-field-name">
    <refnamediv>
     <refname>mysql_field_name</refname>
@@ -42,8 +42,8 @@
  *   password.
  */
 $link = mysql_connect('localhost', 'mysql_bruger', 'mysql_password');
-if (!$db_selected) {
-    die('Kunne ikke vælge $dbname: ' . mysql_error());
+if (!$link) {
+    die('Kunne ikke forbinde til MySQL serveren: ' . mysql_error());
 }
 $dbname = 'min_database';
 $db_selected = mysql_select_db($dbname, $link);