use this
PHP Code:
$DB_site->query("INSERT INTO settinggroup (settinggroupid,title,displayorder) VALUES (NULL,'".addslashes($title)."','$displayorder')");
echo "Adding settinggroup data... Done. <font color='#006699'>settinggroup</font> table populated.<br>\n";
$settinggroupid=$DB_site->insert_id();
$DB_site->query("INSERT INTO setting VALUES (NULL,$settinggroupid,'News forum ID','newsforumid','15','The specified forum will contain threads viewed on the main page only.','',0)");
echo "Adding setting data... Done. <font color='#006699'>setting</font> table populated.<p></td>\n";