PHP Classes

File: pdo_database.class.php

Recommend this page to a friend!
  Classes of Evert Ulises German Soto   PDO Multi Connection Class   pdo_database.class.php  
File: pdo_database.class.php
Role: Class source
Content type: text/plain
Description: class file pdo multicnxn
Class: PDO Multi Connection Class
Access different types of SQL database using PDO
Author: By
Last change: - Charset modified default to UTF8, sometimes have problems when get a resultset
- The method "query" allows array to get the arguments, ex:

$query = "INSERT INTO users (email,`password`) VALUES(?,?);";
$resp = $db->query($query, array('salsadelmonte@hotmail.com', md5('123')));

$query = "SELECT * FROM users WHERE email=? AND `password`=?;";
$resp = $db->query($query, array('salsadelmonte@hotmail.com', md5('123')));
Date: 8 years ago
Size: 20,095 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: