I am having trouble with my forms. I have a registration page that requests phone numbers and zip codes and such. I want to use PHP to test the form submissions to make sure that fields which should have numbers, only have numbers. I was trying to use the is_int function to test, but am running into problems with the input type of my form. I have tried input type = int, and text, both submit the numbers as strings, so that they fail the is_int function. Does anyone know how I can fix this?
Thanks,
Ari