summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/tests/prepare.inc
blob: 7bda7936093f0aa199301073189601f74b882a87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

require_once('connection.inc');

$SQL = array();

$DB = new pdo($CONNECTION, $USER, $PASSWD);

foreach(array('test','classtypes') as $name)
{
	$DB->query('DROP TABLE IF EXISTS '.$name);
}

$DB->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_WARNING);

?>