Hi all,
I have a form that collects an integer value. Once the form is submitted, i need to make sure the value is an integer. I can't use is_int(), because returned form fields always come back as strings. I can't do a is_int( (int) $value) because, well, you can see what that does to decimal values.
Anyone know what I can do to make sure it's an int?