![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 241
|
Ubber easy way via sql:
DELETE FROM user_item WHERE (item_type>'3926' AND item_type<'3935') OR item_type='4218' Hahah adriahu was first xD |
|
|
|
|
#2 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
Something like this would be better, adriahu is a good choice too but this is more easy and more logical, using [ ' ] will take the values as string and not as integers... so... thats wrong... Code:
DELETE FROM user_item WHERE item_type BETWEEN 3926 AND 3935 OR item_type = 4218 |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|