adspace
Do you know how can we check the value of a given variable is a number?
Answer Posted / Chandra Vijay Singh
In PHP, you can use the `is_numeric()` function to check if a given variable is a number. For example: `if (is_numeric($variable)) { // the variable contains a number }`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which variable declarations within a class is invalid in php?
Name and explain five of the PHP error constants?
List some features of php that are deprecated in php7?
Explain me is it possible to destroy a cookie?
What is the current stable version of php?
What does $_files means?
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
What is the difference between htmlentities() and htmlspecialchars()?
What is the current stable version of php? What advance thing in php7?
What is trait in php?
What is difference between static and final in php?
What sized websites have you worked on in the past?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
how to detect a mobile device using php
How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain