Operators An operator is a type of function which acts on operands often called inputs and produce results. In PHP, there are three types of operators. Increment operator ++ and decrement operator — belongs to the first operator group called unary operator. Unary operator always acts on single operand. The second group called the binary [...]
Read More >>
Data Types: PHP supports eight primitive types; four scalar types two compound and two special types. In this section we will discuss scalar types; boolean, integer, float and string. Other four array, object, resource and null will be discussed in the later sections. Boolean: To define boolean variable we can specify TRUE or FALSE, both [...]
Read More >>
Introduction: PHP is a widely used open source server side scripting language that is used to create dynamic and interactive web pages. PHP can be directly embedded into the HTML code and hence, is perfect for any web development. The syntax of PHP is very similar to Perl and C. PHP works on Apache web [...]
Read More >>