Given a string variable (form input), how can I determine whether it
represents a valid integer?
is_numeric is true for floats as well as integers, and is_int always
fails on a string.
P.
represents a valid integer?
is_numeric is true for floats as well as integers, and is_int always
fails on a string.
P.
Comment