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?
1141How 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 2147
Explain different sorting function in php?
Php says that an array is an ordered map. But how the values are ordered in an array?
What is the difference between query and question?
Tell me is it possible to submit a form with a dedicated button?
What is inheritance in php? How many types of inheritance supports php?
How do you end php?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
What are the design patterns in php?
What is the difference between apache and tomcat?
How to get number of days between two given dates using PHP?
What is active record in php?
What are php magic quotes?
How many types of errors in php?
What is static variable in php?
What does $this do in php?