philip          Thu Sep 13 03:49:59 2001 EDT

  Modified files:              
    /phpdoc/en/functions        strings.xml 
  Log:
  Added example for strip_tags()
  
  
Index: phpdoc/en/functions/strings.xml
diff -u phpdoc/en/functions/strings.xml:1.108 phpdoc/en/functions/strings.xml:1.109
--- phpdoc/en/functions/strings.xml:1.108       Sun Aug 26 18:41:56 2001
+++ phpdoc/en/functions/strings.xml     Thu Sep 13 03:49:58 2001
@@ -1,5 +1,5 @@
 <?xml encoding="iso-8859-1"?>
-<!-- $Revision: 1.108 $ -->
+<!-- $Revision: 1.109 $ -->
  <reference id="ref.strings">
   <title>String functions</title>
   <titleabbrev>Strings</titleabbrev>
@@ -2489,6 +2489,14 @@
        PHP4B3.
       </para> 
      </note>
+    </para>
+    <para>
+     <example>
+      <title><function>strip_tags</function> example</title>
+      <programlisting role="php">
+$string = strip_tags($string, '&lt;a&gt;&lt;b&gt;&lt;i&gt;');
+      </programlisting>
+     </example>
     </para>
    </refsect1>
   </refentry>


Reply via email to