Hi, I'm trying to publish my website and i get this error. This is my db.php PHP: <?phpdefine('DB_HOST', 'localhost');define('DB_NAME', '');define('DB_USERNAME', '');define('DB_PASSWORD', '');$odb = new PDO('mysql:host=' . DB_HOST . ';dbname=' . DB_NAME, DB_USERNAME, DB_PASSWORD);?> When I fill this in and try to login in or register, I get this error: Code: Fatal error: Call to a member function prepare() on a non-object in /home/thecozyz/public_html/eos/login.php on line 45 Same with register: Code: Fatal error: Call to a member function prepare() on a non-object in /home/thecozyz/public_html/eos/register.php on line 45 This is my login code: http://pastebin.com/NMNZpJ2r This is my register code: http://pastebin.com/U92jRAfL How do I fix this?