RE: [PHP-DB] mysqli prepared statement query result sets
| From: | Norland, Martin | Date: | Tue, 26 Oct 2004 14:23:19 +0000 |
| Subject: | RE: [PHP-DB] mysqli prepared statement query result sets | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37033@lists.php.net to get a copy of this message | ||
Wishful thinking on my part, since it specified no version info because
it was likely only in CVS - I thought maybe it was *really new* :).
That is unfortunate then, definitely. Perhaps a
mysqli_stmt_fetch_assoc() is forthcoming :(
- Martin Norland, Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent
those of St. Jude Children's Research Hospital.
-----Original Message-----
From: Gerard Samuel [mailto:php-db@trini0.org]
Sent: Tuesday, October 26, 2004 8:49 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] mysqli 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 to work.
mysqli statement functions needs object references (plus there are other
quirks). You cannot use mysqli_fetch_* functions with the mysqli
prepared statement functions...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php