Hi i just have one question.
How can i select only the rows in database who has a negative value? ("-").
Im using a code that punish a user with a - minus points. Like UPDATE users SET points='-1' WHERE uid='$uid'. When the points turn into -1. I want only those to be selected from DB so i can add a code to auto ban them.
Now in use:
$autowarn=mysql_query("SELECT id, warns FROM users WHERE id_level>=3 AND id_level<=6 AND downloaded>5368709120 AND uploaded/downloaded<0.50 AND disabled='no' AND awarn='no'");
Instead i want to select users that have a negative vaule at uploaded/downloaded even if they not have downloaded more than 5368709120.
Becuase if they have a "-" (negative) uploaded/downloaded they should be punished. Even if they not have downloaded>5368709120.
Hope you understand what i mean.
Cheerz