im trying to create a form that will allow players to upgrade their weapons for a price of some kind and im having a bit of trouble getting it to work...i started with the staff items php and picked out pieces of code that shouldnt be there, but that is apparently problematic...ive gotten it to the point where it will select only the items in my inventory and move to the edit item submit form...but at this point it does not post the current weapon power in the input box and i get an error when trying to submit it...i havent worked on making it charge them for it yet, because if this part doesnt work then its useless to try and code that out. has anyone done this or have any suggestions on how to attack this mod? i dont have the exact error for you right now but basically i get a sql error with a whole lot of '','','','',''.,'',''.''. except for the weapon power seems to post to the script...is there a way to copy the item exactly and rename it with an auto increment of +1 thereby creating a new item new item id . example rusty dagger with id 1 becomes rusty dagger +1 id "#" whatever is next in line and then obviously remove the old item from inventory and replace with new item...this is pretty much the important portion i think i can reason out the rest