Try:
PHP Code:
if ($_REQUEST['do'] == 'db')
{
echo "<title>Installing </title>
<font face=\"Verdana\" size=\"2\">";
$db->query_read("CREATE TABLE `covercreditsettings` (
`id` int(11) NOT NULL auto_increment,
`credit_pay` int(11) NOT NULL,
`forums` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
)
");
$db->query_read("INSERT INTO `covercreditsettings` (credit_pay, forums) VALUES ('20', '5')");
echo "Database table has been added.";
echo "<br />Mod has been installed successfully. Congratulations. :)";
}
I think thats it.