[PHP-DOC] cvs: phpdoc /en/functions mail.xml strings.xml From: Egon Schmid (eschmid <email protected>)
Date: 07/01/00

eschmid Sat Jul 1 14:36:42 2000 EDT

  Modified files:
    /phpdoc/en/functions mail.xml strings.xml
  Log:
  Sorry I had no time during the LinuxDays at Stuttgart.
  over the documentation. We used the Mandrake 7.1 and the stylesheet are not
  supported. Since the Mandrake documentation for version 7.1 is done with the
  with
  DocBook, we will get tomorrow some support from the people who are hanging
  around at the LinuxDay in Stuttgart
  
Index: phpdoc/en/functions/mail.xml
diff -u phpdoc/en/functions/mail.xml:1.5 phpdoc/en/functions/mail.xml:1.6
--- phpdoc/en/functions/mail.xml:1.5 Fri Jun 30 20:17:30 2000
+++ phpdoc/en/functions/mail.xml Sat Jul 1 14:36:42 2000
@@ -50,8 +50,6 @@
    </refsect1>
   </refentry>
 
- </reference>
-
   <refentry id="function.ezmlm-hash">
    <refnamediv>
     <refname>ezmlm_hash</refname>
@@ -63,29 +61,29 @@
      <funcprototype>
       <funcdef>int <function>ezmlm_hash</function></funcdef>
       <paramdef>string <parameter>addr</parameter></paramdef>
+ </funcprototype>
     </funcsynopsis>
     <simpara>
- <function>ezmlm_hash</function> calculates the hash value needed
- when keeping EZMLM mailing lists in a MySQL database.
+ <function>ezmlm_hash</function> calculates the hash value needed
+ when keeping EZMLM mailing lists in a MySQL database.
+ </simpara>
     <para>
      <example>
- <title>Calculating the hash and subscribing a user.</title>
+ <title>Calculating the hash and subscribing a user</title>
       <programlisting>
- $user = "kris <email protected>";
- $hash = ezmlm_hash($user);
- $query = sprintf("INSERT INTO sample VALUES (%s,'%s')",
- $hash,
- $user
- );
- $db->query($query); // using PHPLIB db interface
+$user = "kris <email protected>";
+$hash = ezmlm_hash ($user);
+$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
+$db->query($query); // using PHPLIB db interface
       </programlisting>
- </example></para>
+ </example>
+ </para>
    </refsect1>
   </refentry>
 
  </reference>
 
-<!-- Keep this comment at the end of the file
+ <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
 sgml-omittag:t
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.22 phpdoc/en/functions/strings.xml:1.23
--- phpdoc/en/functions/strings.xml:1.22 Wed Jun 28 06:09:33 2000
+++ phpdoc/en/functions/strings.xml Sat Jul 1 14:36:42 2000
@@ -2133,11 +2133,13 @@
      in <parameter>str2</parameter>.
     </simpara>
     <para>
- <informalexample>
- <programlisting role="php">
-strspn("42 is the answer, what is the question ...","1234567890");
- </programlisting>
- will return 2 as result.
+ <informalexample>
+ <programlisting role="php">
+strspn ("42 is the answer, what is the question ...", "1234567890");
+ </programlisting>
+ <para>
+ will return 2 as result.
+ </para>
      </informalexample>
     </para>
     <simpara>