I need some quick SQL help, i'm hoping someone can help me. I have a table in my SQL database, in the table I've found a specific field, I want to edit the field, so that instead of having the field say "1" and sometimes it has "0" , I want it to have "0" for every item in the table. I don't know if anyone understood what I said, but I hope you do , does anyone know how to make a query for me to do that ? If so can you please pass it ? thanks ^^
phpmyadmin would be the easiest way to do this. Although, you can do it via a php file if you want, just that phpmyadmin takes seconds while the query takes a little longer.
well I have Phpmyadmin (as that's how I browse my database) , but I don't see how I can do it. Can you please tell me ?
You should look at this wonderful function in MySQL http://dev.mysql.com/doc/refman/4.1/en/replace.html