Advertisement

PHP Solutions pp 303-334 | Cite as

Connecting to MySQL with PHP and SQL

  • David Powers

Abstract

PHP offers three different ways to connect to and interact with a MySQL database: the original MySQL extension, MySQL Improved (MySQLi), or PHP Data Objects (PDO). Which one you choose is an important decision, because they use incompatible code. You can’t mix them in the same script. The original MySQL extension is no longer actively developed and is not recommended for new PHP/MySQL projects. It’s not covered in this book.

Keywords

Error Message Conditional Statement Prepared Statement Floating Point Number Sort Order 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© DAVID POWERS 2010

Authors and Affiliations

  • David Powers

There are no affiliations available

Personalised recommendations