796 shaares
3 results
tagged
PDO
This is a PHP, PDO and SQLite3 example, which demonstrates the SQLite3 databse usage with PHP-PDO. The PHP / PDO / SQLite3 example code demonstrates following things, and their us
The original MySQL API is going away, deprecated by PHP in Version 5.5, with published statements that it will be removed in the future (see the red warning box). Since PHP 5.3 is now (February 2013) at end of life, and PHP 5.4 is current, the issues that will arise from the deprecation and removal are already before us. In fact, some parts of the API are already deprecated. It's time to think about making a change in our scripts. And if you're thinking about PHP 5.5, it's necessary to make the change now: "Please, note that this alpha version [php 5.5.0alpha2] also introduces the ext/mysql depreciation."
We've covered PHP's PDO API a couple of times here on Nettuts+, but, generally, those articles focused more on the theory, and less on the application. This article will fix that!
To put it plainly, if you're still using PHP's old mysql API to connect to your databases, read on!
To put it plainly, if you're still using PHP's old mysql API to connect to your databases, read on!