can anyone see anything wrong with this, because it doesnt seem to want to work
Code:
<hookname>newreply_post_complete</hookname>
<phpcode><![CDATA[
require_once(DIR . '/includes/class_core.php');
require_once(DIR . '/includes/class_bitfield_builder.php');
vB_Database::select_db();
$db->Query_write("INSERT INTO testingtable (misc) VALUES ('testing')");
$db->show_errors();
vB_Bitfield_Builder::save($db);
]]></phpcode>