Question : phpmyadmin no negative numbers

Is there a way in phpmyadmin to set a field in mysql to be 0 if the result is less than 0? I'm trying to determine how long to pay off my credit card. If the time remaining is a negative number i'd like that field to be 0. Any suggestions anyone?

Answer : phpmyadmin no negative numbers

Define that field as unsigned integer.

Hope this helps
Random Solutions  
 
programming4us programming4us