Computer Science, asked by shreelabaroi2211, 1 year ago

Can we use if condition for numeric and nonnumeric value in php and what is column type name

Answers

Answered by Anonymous
0
This should be rewritten as, “ […] you only want a value to contain digits then you can use ctype_digit()”. That function will fail on 1.25or -11 which are “numbers”. If the OP wants to check if a value contains a number they should use is_numeric().
Similar questions