Posts Tagged ‘if loop’

PHP If Loop

This item was filled under [ PHP & MySql, References ]

The If Loop is a very basic loop and used often. It’s used to check a condition and execute a code based on whether the condition was true or not. if( … condition … ) { … execute code … }else{ … execute other code … } The condition is put between brackets and the [...]

Continue reading...

Tagged with: [ , , ]

PHP Loops

This item was filled under [ PHP & MySql, References ]

In PHP loops are used to execute codes under certain conditions and may also be used to repeat the code. There are different loops to do different kind of things: If loop The If loop is used to execute a certain code only when a certain condition is true. While loop The While loop is [...]

Continue reading...