I have a MySQL DB with a column that sometimes has a value of "-1", how can I change that to "0" during the SELECT without doing a foreach loop on the result. Basically I want the 'display' value to be 0 if the DB value is -1. If the DB value is anything else then it should be displayed without modification.
Any ideas???