Monday , 27 May 2019
Breaking News
Home > Tutorials > PHP > How to Check Numeric Value in PHP

How to Check Numeric Value in PHP

P hp provides very simple built-in function for checking where given value is numeric or not. I personally often check the value before entering it into database for exact data. Just copy below code and paste wherever you want and test it.
Above code will check the value stored in variable and show us result. If the value is numeric it will show you message that value is numeric otherwise message will be Value is not numeric

About Muhammad Faryad

Muhammad Faryad is a professional web application developer. He has been working for 5 years in ICE786 Technologies Pvt. Ltd as a Senior Programmer and Developer. You can contact him on facebook at www.facebook.com/tolamangali

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Ad Test