SQL Error: Unknown column 'type' in 'field list' at /home/tbcdb/public_html/spell.php line 320
Array
(
    [code] => 1054
    [message] => Unknown column 'type' in 'field list'
    [query] => 
			SELECT `name`, `subname`, `minlevel`, `maxlevel`, `type`, `rank`, `A`, `H`, c.entry
			
			FROM aowow_factiontemplate, creature_template c
			
			WHERE
				c.entry IN (SELECT entry FROM npc_trainer WHERE spell=30819)
				AND factiontemplateID=faction_A
			
    [context] => /home/tbcdb/public_html/spell.php line 320
)