View Single Post
Old 28.06.2005, 05:56   #3
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

Look up some basic sql queries.

ie....

Code:
USE lin2world
UPDATE user_data SET owner = '0' WHERE item_id = '666'
You'll want to check the rows I chose, not sure if 'owner' and 'item_id' are correct coll. names, but the SQL should be correct. This will set the over of the item to nobody of the item you choose, ie 666 in my example.

You can also use this code to update other things, ie name.

Code:
UPDATE user_data SET char_name = 'newchar' WHERE char_name = 'oldchar'
Basic SQL is really helpful. Google it
Sakumi is offline