RE: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Norland, Martin
ysqli 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.

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Hans Lellelid
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,

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Gerard Samuel
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

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Gerard Samuel
Hans Lellelid wrote: Hi Georg, 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

RE: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Norland, Martin
email do not necessarily represent those of St. Jude Children's Research Hospital. -Original Message- From: Hans Lellelid [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 5:57 AM To: Gerard Samuel Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] mysqli prepared statement query res

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Hans Lellelid
Hi Georg, > 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 t

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Georg Richter
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.

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-26 Thread Hans Lellelid
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?

Re: [PHP-DB] mysqli prepared statement query result sets

2004-10-25 Thread Gerard Samuel
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