Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php check if string or number

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