nlopess Sat Sep 1 09:42:40 2007 UTC
Modified files:
/phpdoc/en/reference/ifx/functions ifx-query.xml
Log:
fix bug #42459: fix example
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ifx/functions/ifx-query.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/ifx/functions/ifx-query.xml
diff -u phpdoc/en/reference/ifx/functions/ifx-query.xml:1.11
phpdoc/en/reference/ifx/functions/ifx-query.xml:1.12
--- phpdoc/en/reference/ifx/functions/ifx-query.xml:1.11 Wed Jun 20
22:24:37 2007
+++ phpdoc/en/reference/ifx/functions/ifx-query.xml Sat Sep 1 09:42:40 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry xml:id="function.ifx-query" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ifx_query</refname>
@@ -110,8 +110,7 @@
ifx_textasvarchar(1); // use "text mode" for blobs
$res_id = ifx_query("select * from orders", $conn_id);
if (! $res_id) {
- printf("Can't select orders : %s\n<br />%s<br />\n", ifx_error());
- ifx_errormsg();
+ printf("Can't select orders : %s\n<br />%s<br />\n", ifx_error(),
ifx_errormsg());
die;
}
ifx_htmltbl_result($res_id, "border=\"1\"");