News Feed
Sections




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

DevShed:
Working with Prepared Queries with PDO Objects in PHP 5
June 11, 2007 @ 13:21:00

DevShed concludes their series looking at the use of PDO objects in PHP5 with this last tutorial focusing on the use of prepared queries in your PHP application.

In this last tutorial in the series I'm going to show you how to run prepared queries, but in this case we're going to include named parameters into them. Additionally, I'm going to take a quick look at some additional methods bundled with this extension. These new methods can be really useful for working with transactions, in case you want to use this feature with the database system of your choice.

They start with a simple approach to using prepared queries before moving on to an alternate method - binding parameters to the query via bindParam. They wrap up the article with a look at using transactions, both commits and rollbacks.

0 comments voice your opinion now!
prepared query php5 tutorial pdo object prepared query php5 tutorial pdo object


blog comments powered by Disqus

Similar Posts

DevShed: Filtering Image Streams with the GD Library in PHP

WebSpeaks.in: Cross Domain Posting using PHP and JavaScript: ITS POSSIBLE!

Brainbench.com: Free PHP5 Certification Exam

PHPBuilder.com: How Regular Are Your Expressions (The ABC's of PHP, Part 9)

DevShed: Using Timers to Benchmark PHP Applications


Community Events

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


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

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