News Feed
Sections

News Archive
feed this:

DevShed:
Databases Finishing a Listing Service
July 05, 2007 @ 11:23:00

DevShed wraps up their look at databases in PHP (a excerpted from "Programming PHP, Second Edition") with this new tutorial showing how to insert and work with PDO prepared statements.

Concluding our discussion of databases and PHP, we'll finish building the [administration portion of the website] example that we started last week.

They start with the code for the administration page for adding a new record to the table - in this case, a business. They give the code to handle the submit and how to display a list of the current businesses. They wrap it up with a look at working with PHP Data Objects (PDO) and using them to create prepared statements.

0 comments voice your opinion now!
database tutorial pdo preparedstatement administration excerpt database tutorial pdo preparedstatement administration excerpt



CodePoets.co.uk:
How to use PHP and PEAR MDB2 (Tutorial)
June 07, 2007 @ 13:56:00

On CodePoets.co.uk, there's a new tutorial posted by David Goodwin showing how to use PHP with the PEAR MDB2 component to access your database backend.

While writing some PHP Training materials for Pale Purple, I thought I'd add an updated guide on PHP and database access. I've already done one on PEAR::DB, but PEAR::MDB2 is it's successor and has a slightly different API.... and as PEAR::DB is now deprecated, it's probably about time I rewrote it anyway.

David looks at what the MDB2 package is, how to install it, connecting to your database and including some error handling as well. He (thankfully) also touches on one of the most handy features of the package - the prepared statements and the security they can offer.

0 comments voice your opinion now!
pear component mdb2 database tutorial security preparedstatement pear component mdb2 database tutorial security preparedstatement



Community Events











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


PHP5 zend example mysql PEAR job developer database ajax code book releases release conference framework package zendframework security application cakephp

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