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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php