Looping in PHP Loop : -repeating the same block of code to run over and over again a certain number of times as long as a certain condition is true. Entry-exit. Elements of loops 1. Initialization 2. Termination 3. Loop code block 4. Loop processing Types of loops:- while - loops do...while - loops for - lo…
Read moreConditional Statements in PHP Control structure controls the flow of program code’s execution in the application. In application program executed sequentially (line by line). Control structure allows random execution in code (not sequential). It is done under certain conditions. It performs different actions which are based on different conditions.…
Read moreVARIABLES IN PHP: PHP VARIABLES: A variable in PHP is a name of memory location which holds data. Variable has a unique address. the variable is declared by $ sign followed by the variable name. Characteristics All variables are denoted with the dollar sign ($) before the variable name. The value is stored in the variable by the ass…
Read more
Social Plugin