view config.php.example @ 11:e0807e0b1a67

Added common.php, updated server synchronization to continue after a connection failure
author Ivo Smits <Ivo@UCIS.nl>
date Sat, 18 Jun 2011 15:59:11 +0200
parents 40e545510a57
children
line wrap: on
line source

<?php
$db = PDOWrapper::connectMysql('localhost', 'dbname', 'username', 'password');
//For other databases (see also http://nl2.php.net/manual/en/pdo.construct.php):
//$db = new PDOWrapper($dsn, $user = NULL, $pass = NULL, $options = NULL);