Dagu on September 14th, 2009

The if construct is one of the most important features of many languages, PHP included. It allows for conditional execution of code fragments. PHP features an if structure that is similar to that of C: if (expr) statement The general format of if construct is like shown below: if (expr1) { //  statement if expr [...]

Continue reading about IF Construct in One Line Using PHP