PHP Classes

File: pdo_database.class.php

Recommend this page to a friend!
  Classes of Evert Ulises German Soto   PDO Multi Connection Class   ???  
File: ???
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('[email protected]', md5('123')));

$query = "SELECT * FROM users WHERE email=? AND `password`=?;";
$resp = $db->query($query, array('[email protected]', md5('123')));
Date: 9 years ago
Size: 20,095 bytes

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

1,617,604 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: