connect_error){ die("Connection failed: " . $db->connect_error); } ?>