News Feed
Sections




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

WebReference.com:
Accessing Your MySQL Database from the Web with PHP
November 25, 2008 @ 09:32:49

WebReference.com has another excerpt from the Addison-Wesley book "PHP and MySQL Web Development" covering the connection between PHP and MySQL using their example from previous chapters.

In this chapter, we explain how to access the Book-O-Rama database from the Web using PHP. You learn how to read from and write to the database and how to filter potentially troublesome input data.

The chapter looks at setting up the connection, choosing the table, running queries against it, getting the information from the results and using prepared statements to do it all in a bit safer way. They also briefly touch on other interface methods (like the PEAR MDB2 library).

0 comments voice your opinion now!
access mysql database tutorial excerpt book


blog comments powered by Disqus

Similar Posts

NetTuts.com: Deploying a Laravel Application Using Capistrano

DevShed: Working with MySQL and Sessions to Serialize Objects in PHP (Part 3)

Giorgio Sironi's Blog: Testing ebook upcoming

Book Review: The Design of Sites: Patterns for Creating Winning Web Sites

WebReference.com: The Building Blocks: Data Types, Literals, Variables, and Constants - Part 2


Community Events

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


extension feature framework voicesoftheelephpant laravel5 community podcast wordpress threedevsandamaybe api introduction release series library unittest opinion development laravel language interview

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