Re: Staff Items V2 Help
Ok finally fixed this dang code lol. Brackets were missing in the query area, that looked similar to this..
$m=$db->query("INSERT INTO items 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)");
the fixed one is...
$m=$db->query("INSERT INTO items 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')");
There is another query you might want to fix also adding the brackets on helmet,boots,amulet,braclet,ring,special.