ID:               42459
 Updated by:       [EMAIL PROTECTED]
 Reported By:      glowacki at europa dot pl
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: any
 PHP Version:      5.2.3
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2007-08-28 11:46:28] [EMAIL PROTECTED]

Reclassified.

------------------------------------------------------------------------

[2007-08-28 11:25:59] glowacki at europa dot pl

Description:
------------
mistake in PHP example: en/reference/ifx/functions/ifx-query.xml

file: en/reference/ifx/functions/ifx-query.xml
...
$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();
    die;

// printf(): Too few arguments
// unexpected ');' after 'ifx_error()'

Expected result:
----------------
$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());
    die;




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42459&edit=1

Reply via email to