Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?
No Answer is Posted For this Question
Be the First to Post Answer
What are escaping characters? Explain with an example?
Where is the submitted form data stored?
What is singleton class in php?
What is the difference between unlink and unset ?
Inside a php function, what param needs to be set in order to access a global variable?
What are the three parts of an http request?
Difference between array_combine and array_merge?
Does php have block scope?
What is the difference between overloading and overriding in php?
what is PDO?
How are cookies created?
Tell us what does $_cookie means?