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

DevShed:
Databases: Finishing a Listing Service
Jul 05, 2007 @ 16: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.

tagged: database tutorial pdo preparedstatement administration excerpt database tutorial pdo preparedstatement administration excerpt

Link:


Trending Topics: