Migrated from deprecated PHP mysql interface to the PDO (PHP Data Objects) database abstraction layer.