The built-in $_GET function is used to collect values in a form with method="get".
A function is just a name we give to a block of code that can be executed whenever we need it.
Like while loop, for loop also used to execute the block of codes if the condition is true. FOR is used when you know how many times the script should run.
Like while loop Do-while is also used to execute the block of code while the condition is true.
Loops are used to execute the specified block of codes for a number of times, or while the specified condition is true.
Array is an single variable that holds multiple values. In an array you can store the related values into a single variable.
By using IF,ELSE,ELSEIF we have to check each and every condition. WIth the use of SWITCH statement you can check for all condiitons at once, and the great thing is that it is actually more efficient programming to do this.
Use the IF-ELSEIF-ELSE statement to select one of several blocks of code to be executed.
Use the IF...ELSE statement to execute some code if a condition is true and another code if a condition is false.
Conditional statements are used to perform different actions based on different conditions.
In mysql, the SELECT command is used to retrieving data from the database. We can get the single value or a array of values from the database.
Mysql is mostly used with PHP for storage and retrieving purpose .Before you can access a data in a database, you need to create a connection with the database.
PHP stands for PHP: Hypertext Preprocessor. PHP is an Open source software.PHP is a powerful tool for making a interactive web services.PHP is most similar to HTML. Php is a server side scripting. They are executed on server.PHP supports the databases like Mysql, Oracle ..etc.. It is compatible with almost all servers like (Apache, IIS, ..etc.).