Revision: 50266
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 17, 2011 19:06 by elvman
Initial Code
define('HOST', 'localhost'); define('USER', 'root'); define('PASS', 'root'); define('DATABASE', 'analytics'); define('ENCODING', 'utf8'); $database = new mysqli(HOST, USER, PASS, DATABASE); $database->query('SET NAMES '.ENCODING);
Initial URL
Initial Description
Initial Title
Connect to database using MySQLi
Initial Tags
Initial Language
PHP