I'm having trouble writing a simple query.
I need to select every nickname under table user_characters where a1 is more then 0.. then next I need to multiply c2 by their amount of a1.. So..
example:
If user a has 10 of a1.. and c2 = 200, then multiply c2 * a1.. then I need it to update the db with the new value.. so update set user_characters where blank=blank+$result.
Not sure if anyone understands that or can help but any help would be appreciated.