I have a mysql table with columns: name, active (active is int). I want to upload pictures to the server, and when they are already on the server, I want to make them as active so that they are used as the new logo. (when active = 1, the pic is the new logo) I can't figure out why my "$query" doesn't work. Everything else works fine.I have a mysql table with columns: name, active