I am looking for a function that would be the alphabetic equivalent of is_numeric. It would return true if there are only letters in the string and false otherwise. Does a bui
!is_numeric((float)$variableToBeChecked); also preg_match('#^[a-z]+$#i',$variableToBeChecked); // for one or more letter character
!is_numeric((float)$variableToBeChecked);
preg_match('#^[a-z]+$#i',$variableToBeChecked); // for one or more letter character