I am hosted on godaddy.com, today all of a sudden my mysql database is returning null for int fields with a zero value, anybody else having a problem or is it just me? How can I fix it?
Have you checked with mysqladmin or another administration tool to verify that the fields aren't set to null? If they are null you can do an update UPDATE table SET field = 0 WHERE field IS NULL; If not, it's most likely an issue with your website and not the DB. Did they upgrade apache or anything else that you know of?