<?php
/*
Copyright © 2008-2011 http://www.phpcandy.com
Contact: hide@address.com
This file is part of wTag mini chat - shoutbox.
wTag is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
wTag is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with wTag. If not, see <http://www.gnu.org/licenses/>.
*/
require_once("db_class.php");
#------ Database connection details -------------------------------------------#
// Replace the variables with your MySQL connection info.
$dbhost = "localhost"; // Most likely 'localhost', so you don't need to change this in most of cases
$dbuser = "username"; // Your MySQL username
$dbpass = "password"; // Your MySQL password
$dbname = "databasename"; // Your MySQL database name
#------ Create an instance of Sql class ---------------------------------------#
// Connect to MySQL
$sql = new Sql($dbhost, $dbuser, $dbpass, $dbname);
?>