Hi Gerard,
Thanks for the reply.
I'm writing a db abstraction layer driver for MySQLi. I'm glad to
finally get a chance to play around with these new functions, but am
completely stumped by this question:
Is there no way to get back a standard resultset when using prepared
statement queries?
Am Di, den 26.10.2004 schrieb Hans Lellelid um 12:57:
Ooops, I guess I should have searched the list itself; I did some google
searches to no avail. This is really unfortunate. This API sucks!
Prepared api calls use a binary protocol, which is totally different
from the old protocol. If
Norland, Martin wrote:
The functions you want exist in php5, if that's an option:
http://us2.php.net/manual/en/ref.mysqli.php -
http://us2.php.net/manual/en/function.mysqli-fetch-assoc.php
No this is not an option.
mysqli_fetch_* needs a result resource id to work.
mysqli statement functions
Hi Gerard,
I believe he is talking about -
http://dev.mysql.com/doc/mysql/en/SQLPS.html
But IMHO, I think emulating via php would be faster, as that is
alot of talking to a database to get the job done, especially if the
database is on a remote host.
Ahh, ok. Yes, this is interesting, but
prepared statement query result sets
Norland, Martin wrote:
The functions you want exist in php5, if that's an option:
http://us2.php.net/manual/en/ref.mysqli.php -
http://us2.php.net/manual/en/function.mysqli-fetch-assoc.php
No this is not an option.
mysqli_fetch_* needs a result resource id
Hans Lellelid wrote:
Hi,
I'm writing a db abstraction layer driver for MySQLi. I'm glad to
finally get a chance to play around with these new functions, but am
completely stumped by this question:
Is there no way to get back a standard resultset when using prepared
statement queries?
I can't