philip Fri Jun 7 13:46:27 2002 EDT
Modified files:
/phpdoc/en/reference/strings/functions implode.xml
Log:
Minor update to example, removed see also to the alias join().
Index: phpdoc/en/reference/strings/functions/implode.xml
diff -u phpdoc/en/reference/strings/functions/implode.xml:1.2
phpdoc/en/reference/strings/functions/implode.xml:1.3
--- phpdoc/en/reference/strings/functions/implode.xml:1.2 Wed Apr 17 02:44:15
2002
+++ phpdoc/en/reference/strings/functions/implode.xml Fri Jun 7 13:46:26 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.implode">
<refnamediv>
@@ -21,7 +21,14 @@
<title><function>implode</function> example</title>
<programlisting role="php">
<![CDATA[
-$colon_separated = implode(":", $array);
+<?php
+
+$array = array('lastname', 'email', 'phone');
+$comma_separated = implode(",", $array);
+
+print $comma_separated; // lastname,email,phone
+
+?>
]]>
</programlisting>
</example>
@@ -35,8 +42,7 @@
</para>
</note>
<simpara>
- See also <function>explode</function>, <function>join</function>,
- and <function>split</function>.
+ See also <function>explode</function>, and <function>split</function>.
</simpara>
</refsect1>
</refentry>