php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #1383 Typos/bugs in example code
Submitted: 1999-05-06 10:20 UTC Modified: 1999-05-06 10:43 UTC
From: rocky at rbxinc dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.7 OS:
Private report: No CVE-ID: None
 [1999-05-06 10:20 UTC] rocky at rbxinc dot com
on http://www.php.net/manual/function.ifx-query.php3, the
Example #1 has a coupla problems:

printf("Can't select orders : %s\n<br>%s<br>\n",        ifx_error();
ifx_errormsg();

should be:
printf("Can't select orders : %s\n<br>%s<br>\n",        ifx_error(),
ifx_errormsg() );

and 
ifx_htmltbl_result($res_id, "border=\"1\");
should be
ifx_htmltbl_result($res_id, "border=\"1\"");

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-06 10:43 UTC] eschmid at cvs dot php dot net
Thank you for reporting the typos. I haven't used Christian's example myself.
But looking at the code, you are right. I will change this in CVS.

-Egon 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 22:01:31 2024 UTC