Code Snippets

Tag: Mysql

PDO MySQL Connection in PHP

Connect to MySQL with PDO and run a prepared SELECT.

Author: chris

Connect to MySQL with DBI

Open a DBI handle to MySQL, run a SELECT, and iterate rows.

Author: chris