Is there a PHP equivalent of isNaN in Javascript? If not, is there some way to check if a form contains only numbers with PHP?