What is the purpose of break and continue statement ?
PHP also has two keywords break and continue to control the loop, just like another programming language. Those statements...
What is the use of count () function in PHP ?
In PHP this unbuilt function is used to count the current elements in the array. If it has been set to an empty array,...
What is the difference between GET and POST Method ?
GET POST In browser history parameters remain because they are the part of...
What does the unlink () function and unset () function mean ?
The unlink () and unset () functions are used to do some undo operations but used in different situations because both acts...
What is session in PHP ?
PHP session is used to store and pass information from one page to another page temporarily until the user closes website....
What are the ways to define a constant in PHP ?
PHP constants are identifier or name that can’t be changed during the execution of the script except for magic...
What is echo and print in PHP ?
PHP is not a function; it is a language construct and its output become one or more string. If you want to pass more than...
What is NULL in PHP ?
In PHP null () function is an inbuilt function which is used to find whether a variable is NULL or not. If it returns True...
What are the types of errors in PHP ?
In a programmer, error is a mistake that may be caused by writing incorrect code or incorrect syntax. An error message is...
What are the types of arrays in PHP ?
In PHP an array is a type of data structure that allows us to store multiple elements of similar data type under a single...
What are the methods to submit form in PHP ?
In PHP we can create and use forms in which we need to use PHP superglobals $_GET and $_POST to get form data. If the form...
What are Magic Constants in PHP ?
In PHP magic constants are the predefined constants which is used on the basis of their use. Constants are created by...
What are the different loops in PHP ?
Like any other language, in PHP loop is used to execute a statement or a block of statements, multiple times until and...
What are cookies ? How to create cookies in PHP ?
In PHP cookie is a small file with a maximum size of 4KB that the web server stores on the client computer. Cookies are...
List out the features of PHP
Performance Compare to other languages such as JSP and ASP, PHP script is executed much faster than those scripts which are...
How to read a file in PHP ?
PHP File provides various functions to read data. There are different functions that allow you to read all file data, read...
How many data types are there in PHP ?
PHP data types are used to hold different types of values or data. There are eight primitive data types which are further...
How to create a database using PHP and MySQL ?
Database is a collection of inter-related data which helps in insertion, retrieval and deletion of data from database...
What is ER Model in DBMS ?
ER stands for Entity-Relationship model. It is a high level data model. If any data elements or relationship of any...
What are the disadvantages of DBMS ?
High Cost Disadvantage of DBMS is its high cost of software and hardware. For users to use a DBMS they require a high speed...