Home
Javascript
Laravel
Tools ▼
🔄 Data & Conversions
JSON to PHP Array
JSON to CSV
CSV to JSON
YAML to JSON
XML Formatter
SQL to MongoDB
Binary to Decimal
Timestamp Converter
🛠️ Formatters & Encoders
SQL Formatter
HTML Formatter
Stored Procedure
CSS Minifier
Base64 Encoder
URL Encoder
JSON Schema Gen
⚙️ Generators & Security
Laravel .env
UUID / GUID
Hash Generator
JWT Decoder
Cron Generator
QR Code Gen
Lorem Ipsum
🧰 Dev Utilities
Regex Tester
Text Diff Checker
Markdown Editor
React Converter
Color Picker
About
Privacy Policy
Check that entered value is numeric or not in php
We can use isnumeric function to check that value is numeric or not it is return
true
and
false
.Example ...
if(!isnumeric($value)){
echo "Value should be numeric";
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment