Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to check 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 #number #php
ADD COMMENT
Topic
Name
8+3 =