Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php check if string or number

 <?php if (is_numeric(887)) { echo "Yes"; } else { echo "No"; } ?>
Source by www.thoughtco.com #
 
PREVIOUS NEXT
Tagged: #php #check #string #number
ADD COMMENT
Topic
Name
9+3 =