Do you know how can we check the value of a given variable is a number?
Answer / 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 |
what is the use of include() function when include_once() alone will enough?
How can we submit a form without using submit buttons?
What is abstract class in php?
Steps for the payment gateway processing?
How does php isset work?
How can we know the number of days between two given dates using PHP?
8 Answers AZTEC, HCL, Navsoft,
What is difference between get and post in php?
what is the diffrence between for and foreach?
11 Answers Hirolasoft, IBM, Photon,
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?
Tell me how can we check the value of a given variable is alphanumeric?
What is $_ request in php?
What is exception in php?