Re: Staff_items.php
You need to specify where you want to insert the informations.
You have INSERT INTO ITEMS ... yes but where into items.
You need to do it like that:
$m=$db->query("INSERT INTO items (value1,value2,value3,value4,value5,value6,value7,value8,value9,value10,value11,value12,value13,value14,value15,value16,value17,value18,value19,value20,value21) VALUES('',{$_POST['itmtype']},'$itmname','$itmdesc',{$_POST['itmbuyprice']},{$_POST['itmsellprice']},'$itmbuy',{$_POST['effect1on']},'$efx1',{$_POST['effect2on']},'$efx2',{$_POST['effect3on']},'$efx3', '$weapon', '$armor', '$helmet', '$boots', '$amulet', '$braclet', '$ring', '$special')");
I hope you understand what you need to do now.