PHP Switch Statement

PHP Switch Statement

PHP Switch Statement PHP Switch Statement, come in handy when you have a lot of conditional statement.A Switch Statement by default consist of a Default output. The Switch Statement Structure are build on Condition “switch()” , Selection of Criteria  ” case()” , to get out of the criteria “break; ” and a default signal. Switch(Switch … Read more

PHP Conditional Statement

PHP Conditional Statement

PHP Conditional Statement PHP Conditional Statement also known as PHP Ternary operator is used to check conditions of a logical syntax. The Typical Ternary  conditions Statement, is to check the syntax condition. If the Condition is “true” the Statement will output a specific value, else if not , it will output another value. PHP IF  … Read more

PHP Operator

PHP Operator

PHP Operator Same as many Programming Languages php have its operators In this Article lets go through 1 by 1. PHP Arithmetic Operators Refer the below for the types of Arithmetic operators in PHP. Operator Example Results Negation (-$a) -5 Addition (+) 11 Subtraction (-) 1 Mutiplication (*) 30 Division (/) 1.2 Modulus (%) // … Read more

Difference between Single Quote and Double Quote PHP

Difference between Single Quote and Double Quote PHP

Difference between Single Quote and Double Quote PHP Normally when we Program PHP , sometimes Programmer were  confuse about the difference between Single Quote or Double Quote. In this Article , we will look into the Differences between a Single Quote and Double Quote PHP So as you can see the First Echo i used … Read more

Accesing Server Information using PHP

Accessing Server Information using PHP code $_SERVER

Accessing Server Information using PHP code $_SERVER PHP programming language is designed to communicate with servers. In order to access information from server via PHP , you can use this highlighted  Function  below call. $_SERVER Then pass, the parameter into the PHP code $_SERVER Function, such as listed below $_SERVER[‘Parameter    ‘] To Find the Parameter … Read more