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?
1203How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?
1 2613
What does $globals means?
Can you define an array argument as a reference type?
What is $_ server request_method == post?
Explain the difference between urlencode and urldecode?
What is php resource type?
What is laravel php?
What is $_ request in php?
How check submit button is clicked in php?
What is csrf token and how it works?
How can we get the error when there is a problem to upload a file?
Are php sessions secure?
What is the use of mysql_fetch_assoc in php?
how to track user logged out or not? when a user is idle?
Can php run without server?
What is the function file_get_contents() usefull for?