Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
 
PREVIOUS NEXT
Tagged: #check #input #number #php
ADD COMMENT
Topic
Name
1+4 =