remember,
if you set the integer size at 2 places like TINYINT(2) in the database type, then anything over this is not going to get entered right, I believe it would all be 99.
MAKE SURE your integer size is big enough to accommodate the usage.
Other than that, yeah post the code (only after you've given it a good faith effort :-)
Sam