Re: ODBC Prepare
| From: | Adam Voigt | Date: | Tue, 11 Feb 2003 13:48:26 +0000 |
| Subject: | Re: ODBC Prepare | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94157@lists.php.net to get a copy of this message | ||
Apologies if this was on the wrong list, since the problem was
what I thought was an un-implented feature of the library in PHP's
source,
I assumed I should ask the PHP developer's.
I assumed it was un-implemented because I saw no reference to this
ability on the manual page for ODBC or ODBC_Prepare, and PEAR
seems to be doing it with just PHP code (not the odbc_prepare
extension).
On Mon, 2003-02-10 at 21:58, Dan Kalowsky wrote:
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
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc