georg           Sun Apr 21 12:34:47 2002 EDT

  Modified files:              
    /phpdoc/en/reference/mysql/functions        mysql-get-server-info.xml 
                                                mysql-get-proto-info.xml 
                                                mysql-get-host-info.xml 
  Log:
  inserted mysql_connect into samples
  
  
Index: phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml:1.3 
phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml:1.4
--- phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml:1.3   Sun Apr 21 
12:08:19 2002
+++ phpdoc/en/reference/mysql/functions/mysql-get-server-info.xml       Sun Apr 21 
+12:34:47 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.96 -->
   <refentry id="function.mysql-get-server-info">
    <refnamediv>
@@ -24,6 +24,8 @@
      <programlisting role="php">
 <![CDATA[
 <?php
+    mysql_connect("localhost", "mysql_user", "mysql_password") or
+        die("could not connect");
     printf ("MySQL server version: %s\n", mysql_get_server_info());
 ?>
 ]]>
Index: phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml:1.3 
phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml:1.4
--- phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml:1.3    Sun Apr 21 
12:07:59 2002
+++ phpdoc/en/reference/mysql/functions/mysql-get-proto-info.xml        Sun Apr 21 
+12:34:47 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 -->
   <refentry id="function.mysql-get-proto-info">
    <refnamediv>
@@ -24,6 +24,8 @@
      <programlisting role="php">
 <![CDATA[
 <?php
+    mysql_connect("localhost", "mysql_user", "mysql_password") or
+        die("could not connect");
     printf ("MySQL protocol version: %s\n", mysql_get_proto_info());
 ?>
 ]]>
Index: phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml:1.3 
phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml:1.4
--- phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml:1.3     Sun Apr 21 
12:06:55 2002
+++ phpdoc/en/reference/mysql/functions/mysql-get-host-info.xml Sun Apr 21 12:34:47 
+2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 -->
   <refentry id="function.mysql-get-host-info">
    <refnamediv>
@@ -24,6 +24,8 @@
      <programlisting role="php">
 <![CDATA[
 <?php
+    mysql_connect("localhost", "mysql_user", "mysql_password") or
+        die("could not connect");
     printf ("MySQL host info: %s\n", mysql_get_host_info());
 ?>
 ]]>


Reply via email to