logo       

cvs: phpdoc /nl/reference/mysql/functions mysql-errno.xml: msg#01026

Subject: cvs: phpdoc /nl/reference/mysql/functions mysql-errno.xml
manuzhai                Mon Apr 29 05:44:31 2002 EDT

  Modified files:              
    /phpdoc/nl/reference/mysql/functions        mysql-errno.xml 
  Log:
  Updated to EN 1.4
  
Index: phpdoc/nl/reference/mysql/functions/mysql-errno.xml
diff -u phpdoc/nl/reference/mysql/functions/mysql-errno.xml:1.2 
phpdoc/nl/reference/mysql/functions/mysql-errno.xml:1.3
--- phpdoc/nl/reference/mysql/functions/mysql-errno.xml:1.2     Wed Apr 17 
03:14:09 2002
+++ phpdoc/nl/reference/mysql/functions/mysql-errno.xml Mon Apr 29 05:44:31 2002
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/mysql.xml, last change in rev 1.1 -->
-<!-- last change to 'mysql-errno' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.2 Maintainer: manuzhai Status: ready -->
-<!-- OLD-Revision: 1.95/EN.1.2 -->
+<!-- EN-Revision: 1.4 Maintainer: manuzhai Status: ready -->
   <refentry id="function.mysql-errno">
    <refnamediv>
     <refname>mysql_errno</refname>
@@ -25,27 +22,38 @@
     </para>
     <para>
      Errors die terug komen van de MySQL database module geven geen
-     warnings meer. In plaats daarvan kun je <function>mysql_errno</function> 
-     gebruiken om de fout code op te halen. Merk op dat deze functie alleen
-     de fout code van de meest recent uitgevoerde MySQL functie 
-     (<function>mysql_error</function> en <function>mysql_errno</function>
-     uitgezonderd) ophalt, dus als je hem wil gebruiken, zorg dat je
-     de waarde controleert voordat je een andere MySQL functie aanroept.
-     <informalexample>
+     warnings meer. In plaats daarvan kun je
+     <function>mysql_errno</function> gebruiken om de fout code op te
+     halen. Merk op dat deze functie alleen de fout code van de meest
+     recent uitgevoerde MySQL functie (<function>mysql_error</function>
+     en <function>mysql_errno</function> uitgezonderd) ophalt, dus als
+     je hem wil gebruiken, zorg dat je de waarde controleert voordat
+     je een andere MySQL functie aanroept.
+     <example>
+      <title><function>mysql_errno</function> voorbeeld</title>
       <programlisting role="php">
 <![CDATA[
 <?php
 mysql_connect("marliesle");
-echo mysql_errno().": ".mysql_error()."<BR>";
 mysql_select_db("nonexistentdb");
 echo mysql_errno().": ".mysql_error()."<BR>";
+mysql_select_db("kossu");
 $conn = mysql_query("SELECT * FROM nonexistenttable");
 echo mysql_errno().": ".mysql_error()."<BR>";
 ?>
 ]]>
       </programlisting>
-     </informalexample>
-    </para>
+      <para>  
+         Het bovenstaande voorbeeld zou de volgende output genereren:
+      </para>  
+         <screen>  
+  <![CDATA[  
+  1049: Unknown database 'nonexistentdb'  
+  1146: Table 'kossu.nonexistenttable' doesn't exist  
+  ]]>  
+         </screen>  
+     </example>
+     </para>
     <para>
      Zie ook: <function>mysql_error</function>.
     </para>





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe