Tutorials

Complete PHP Tutorial – Chapter 8

PHP Functions always plays an important role in programming while developing an application/site in PHP language. User Defined Functions A function is a block of code that needs to be used multiple times throughout your code. They aren’t executed upon loading of a script but instead when they are called upon. A user defined function […]

Tutorials

Complete PHP Tutorial – Chapter 7

Here you’ll learn about PHP Control Structures like IF/Else Loop, While Loop, Switch Loop, For/Foreach Loop etc If Else Statements Conditional statements perform different things for different states. The if else statement runs a piece of code if a condition is true and other code if the statement is false. The if can also be […]

Tutorials

Complete PHP Tutorial – Chapter 6

In this tutorial, we’ll cover Arrays and its types which are Numeric Arrays, Multi-Dimensional Arrays and Associative Arrays. Numeric Arrays An array is a special type of variable that is capable of storing multiple values. Numeric arrays give a numeric index to all of the values within the array. The first index of an array […]

Tutorials

Complete PHP Tutorial – Chapter 5

Here we’ll cover PHP Operators that are of various types like Arithmetic Operators, Assignment Operators, Logical Operators and Comparison Operators Arithmetic Operators Arithmetic operators work with numeric values to perform common arithmetic operations. Addition | $a + $b Subtraction | $a – $b Multiplication | $a * $b Division | $a / $b Modulus | […]

Tutorials

Complete PHP Tutorial – Chapter 3

In this tutorial, you’ll learn about PHP Variables, Constants and Parameters. Regular Variables Variables are containers which we use for storing information. PHP variables work a bit differently to other languages so I suggest you pay close attention here. A variable starts with a dollar sign ($) which is then followed by the name of […]