ocibindbyname() example should be fixed
| From: | Antony Dovgal | Date: | Thu, 16 Oct 2003 12:47:50 +0000 |
| Subject: | ocibindbyname() example should be fixed | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969356614@lists.php.net to get a copy of this message | ||
Hi
ocibindbyname() example says, that this syntax should be used:
...
OCIBindByName($stmt,":empno",&$empno,32);
etc. etc.
...
But it's time to mention, that to use &$empno here you MUST set
allow_call_time_pass_reference to true in your php.ini.
And/or maybe it would be better just to rewrite this example, using proper syntax.
Somebody with enough karma - please fix it.
Should I create a bug report?
---
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net