News Feed
Sections




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

PHPMaster.com:
Avoid the Original MySQL Extension, Part 1
February 15, 2013 @ 11:13:29

On PHPMaster.com today there's a new post, the first in a series, about avoiding the original MySQL extension in favor of what mysqli has to offer. The cover some of the basics of the extension and include code showing its use.

Experienced developers eschew the original MySQL extension because of its abandoned status in PHP. Nascent web developers, however, may be completely oblivious to its dormant past and dying future. [...] It is therefore the intention of this two-part article to raise awareness among developers who still use the MySQL extension, inform them of its problems, and to help them switch over to an alternative extension.

They start with a brief look at the "what's wrong" with the MySQL extension (including its upcoming deprecation). The article then gets into the basics of MySQLi and how to do things like make a connection and run a few queries. There's also a bit about prepared statements and the built-in ability to do "multi-queries" (complete with rollbacks).

0 comments voice your opinion now!
mysql extension avoid mysqli introduction tutorial alternative


blog comments powered by Disqus

Similar Posts

Adam Lundrigan: Quick-and-dirty ZF2: Zend\Navigation

Richard Thomas' Blog: Solar Framework Shorts - Sending emails using Solar

Juan Treminio: Unit Testing Tutorial Part V: Mock Methods and Overriding Constructors

Vid Luther's Blog: Building PHP 5.3 packages on Ubuntu 9.04 (Jaunty) for Apache 2

Ibuildings techPortal: Doing the Heavy Lifting: Gearman and Magento


Community Events





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


composer install security language opinion laravel tool library introduction interview update version series package podcast community voicesoftheelephpant symfony release framework

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