Tell me how can we check the value of a given variable is alphanumeric?
Answer / Kumar Saurabh Pratap
To check if a given variable is alphanumeric in PHP, use is_alphanum($variable).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is php7?
How do functions work?
What is singleton class in php?
How do you run a php script from the command line?
How is php different from other languages?
What is the function used to change the root directory in PHP?
I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?
How can we get the properties (size, type, width, height) of an image using PHP image functions?
What is polymorphism?
Explain how is it possible to set an infinite execution time for php script?
How do I run a php script?
What is filter_var?