News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Internet Super Hero Blog:
PHP mysqli_stmt_get_result()
August 22, 2007 @ 13:48:00

Frustrated with the lack of something simple (like mysql_fetch_assoc) in the new mysqli extension, this new function was created an posted about on the Internet Super Hero blog - mysqli_stmt_get_results.

By help of the new function, you can create a mysqli_result object from a statement that returns data (SELECT and other - version dependent!). Then you can use the mysqli_result object to process the returned data: fetch results, access meta data - all you can also do using a mysqli_result object returned by mysqli_query().

Included in the post are a few code examples showing the simplicity of the function and how it can still be used with the standard mysql_* functions to grab the results.

0 comments voice your opinion now!
bind value mysqlstmtgetresult object mysqlquery simple bind value mysqlstmtgetresult object mysqlquery simple


blog comments powered by Disqus

Similar Posts

Stoyan Stefanov's Blog: JavaScript-style object literals in PHP

Ryan Malesevich's Blog: WP Plugins: Database Backup

Konstantin Kudryashov: phpspec2: SUS and collaborators

Ryan Malesevich's Blog: WP Plugins: WP-Wap, Make a WAP Version of Your Blog

PHP-GTK Community Site: GTKSMS & freeFAX - Fax Over IP


Community Events

Don't see your event here?
Let us know!


interview laravel podcast framework release opinion voicesoftheelephpant laravel5 development extension library unittest api community php7 language security introduction version series

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework