Answers for "how to check if input is number only in php"

PHP
2

how to check if input is number only in php

## CHECK IF INPUT IS NUMBER ONLY
$number = "12345";
is_numeric($number); ## RETURNS TRUE IF NUMBER ONLY, ELSE FALSE
Posted by: Guest on April-09-2022

Code answers related to "how to check if input is number only in php"

Browse Popular Code Answers by Language