Re: ODBC Prepare
| From: | Dan Kalowsky | Date: | Tue, 11 Feb 2003 02:58:37 +0000 |
| Subject: | Re: ODBC Prepare | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94143@lists.php.net to get a copy of this message | ||
This is really a support question and is being asked on the wrong list.
But in light of that... PHP's odbc_prepare function should work with the '?' option. It really isn't the one deciding this though, as it's more your ODBC Driver. As far as PEAR is concerned, I have little insight into that aspect of PHP. Your best bet is to ask PEAR developers or read the source.
On Monday, February 10, 2003, at 11:48 AM, Adam Voigt wrote:
According to a manual I found on the web for call's to "SQLPrepare" (referenced in ext/odbc/php_odbc.c) you can implant "?" in place of variables for statement execution. PearDB makes reference to this on: http://pear.php.net/manual/en/core.db.tut_execute.php So my question is, is PHP's ODBC programming just not setup to handle this (and is Pear doing this manually with PHP) or am I mis-understanding the way the library works in PHP? Thanks, Adam Voigt adam@cryptocomm.com ---------------------------------------------------------------<Dan Kalowsky "I've learned to fake it,
http://www.deadmime.org/~dank and just smile along." dank-nom@aps-deadmime.org - "Candy", kalowsky@php.net Iggy Pop