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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 - 4 = ?
Subscribe to this entry?

 
 [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: Sun Jun 16 09:01:28 2024 UTC