O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Database Access with PHP

Most high-end Web sites have some kind of database behind them, helping to power the dynamic nature of the site. PHP has been capable of working with back-end databases for quite some time. Initially, it worked only with open source databases such as MySQL and mSQL, but now it can work with ODBC-compliant databases as well. This means that you can now Web-enable your Microsoft Access, Microsoft SQL Server, and Oracle databases using PHP.

This section examines how to pose queries to databases using PHP and how to dynamically build a Web page using the results from those queries. In particular, you will learn about the built-in functions that enable PHP to communicate with the following types of databases:

  • MySQL

  • Microsoft ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required