is_int: Used to check if the user input numbers only. i.e. Variable is "full" with numbers.
Example 1:
<?php
$telephone_no=a122334;
if (is_int ($telephone_no))
{
echo "You have entered successfully";
} else
{
echo "Error: The telephone number needs to contain only numbers";
}
?>
Other Checking functions:
is_long
is_string
is_array
Other Checking functions:
is_long
is_string
is_array