1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<? error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED); $dbh = mysql_connect("localhost", "globavetsa", "ga2010");
if (!$dbh) { die('Could not connect: ' . mysql_error()); } $selected = mysql_select_db("globavet",$dbh) or die("Could not select first_test");
mysql_query("SET NAMES UTF8");
require_once dirname(__FILE__).'/inc/Db.php'; Db::init('mysql:host=localhost;dbname=globavet', 'globavetsa', 'ga2010');
|