Bug #15517 Updated: odbc_execute() special quoted parameter handling not documented
| From: | torben@php.net | Date: | Wed, 13 Feb 2002 07:08:52 +0000 |
| Subject: | Bug #15517 Updated: odbc_execute() special quoted parameter handling not documented | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-225@lists.php.net to get a copy of this message | ||
ID: 15517
Updated by: torben@php.net
Reported By: torben@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: All
PHP Version: 4.1.1
Assigned To: torben
New Comment:
This bug has been fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2002-02-11 22:16:19] torben@php.net
Just assigning to myself--but if anyone can answer my
question about escaping quotes, I'd be much obliged. :)
Torben
------------------------------------------------------------------------
[2002-02-11 22:15:26] torben@php.net
If one of the parameters in the array passed to
odbc_execute() starts and ends with single quotes, that
parameter will be taken as the name of a file to read and
send instead of a string to be subsituted in the prepared
statement.
I'll add this later tonight, but I'm wondering: how can one
use a string which begins and ends with single quotes as
a parameter without this happening if one is stuck with
using '' to escape single quotes instead of \'? Unless I'm
missing something, I'll add that as a feature request later
today.
Torben
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15517&edit=1