view config.php.example @ 6:bc6045ed0b2e

Added script to fix and re-index database fields and references
author Ivo Smits <Ivo@UCIS.nl>
date Tue, 12 Apr 2011 11:41:35 +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);