cvs: phpdoc /en/reference/ircg/functions ircg-fetch-error-msg.xml
| From: | Mehdi Achour | Date: | Wed, 16 Jul 2003 17:15:34 +0000 |
| Subject: | cvs: phpdoc /en/reference/ircg/functions ircg-fetch-error-msg.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969355294@lists.php.net to get a copy of this message | ||
didou Wed Jul 16 13:15:34 2003 EDT
Modified files:
/phpdoc/en/reference/ircg/functions ircg-fetch-error-msg.xml
Log:
adding PHP tags in the examples
Index: phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml
diff -u phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml:1.3
phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml:1.4
--- phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml:1.3 Wed Nov 27 11:50:10 2002
+++ phpdoc/en/reference/ircg/functions/ircg-fetch-error-msg.xml Wed Jul 16 13:15:34 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/ircg.xml, last change in rev 1.7 -->
<refentry id="function.ircg-fetch-error-msg">
<refnamediv>
@@ -30,11 +30,13 @@
<title><function>ircg_fetch_error_msg</function> example</title>
<programlisting role="php">
<![CDATA[
+<?php
if (!ircg_join ($id, "#php")) {
$error = ircg_fetch_error_msg($id);
print ("Can't join channel #php. Error code:
$error[0] Description: $error[1]");
}
+?>
]]>
</programlisting>
</example>