-
Useful Sites
-
Recent Posts
- How Add Font-Awesome to Ionic Project
- Top 5 Freelance Job Sites 2017
- K3 – Responsive Mobile App Landing Page
- K2 – Responsive Startup Company Landing Page
- K1 – Responsive Mobile App Landing Page
- Best Antivirus for Windows 10
- How to Turn on Windows Defender in Windows 8
- How to Download Youtube Videos
- How many Grams in an Ounce
- How many MB in a GB ?
-
Associative Arrays in PHP
Posted on April 21, 2016 | No CommentsAssociative arrays are object-indexed collection of items. They are also known as key-value pairs where index act as key and its item act as value. A simple array is used when you want to create collection of items and you want to store them in a certain order. An associative […] -
Arrays in PHP
Posted on April 20, 2016 | No CommentsArrays are nothing more than an integer-indexed collection of items. An index of an array always starts from 0. The collection of items in an array could be of any data type like string, int, float or even an another array which forms a nested array. The length of an […] -
Logical Operators in PHP with Example
Posted on February 3, 2016 | No CommentsWe have seen how comparison operators work in PHP with conditional statements. Comparison operators compare 2 values and return boolean value (true or false). But we do encounter some scenarios where we want to make our judgement based on 2 boolean values returned by 2 conditions. In such scenario, logical […] -
Conditional Statements in PHP with Example
Posted on January 30, 2016 | No CommentsIn PHP, if and elseif statements are conditional statements. They work with comparison operators. Conditional statements form a block where further code execution depends upon result of a condition. The condition will return a boolean value (true or false). If statement is always the first statement in the series of […] -
Comparison Operators in PHP
Posted on January 29, 2016 | No CommentsIn PHP, when we want to compare 2 values, we make use of comparison operators. These comparison operators are basically used with conditional statements and will return a boolean value (true or false). Most commonly used comparison operators are given below. Operator Meaning $a == $b $a is equal to […] -
Increment & Decrement Operators in PHP
Posted on January 10, 2016 | No CommentsIncrement and decrement operators in PHP increment and decrement value by 1. There are 4 types of increment and decrement operators. Pre-Increment: ++$variable Post-Increment: $variable++ Pre-Decrement: –$variable Post-Decrement: $variable– Example for increment and decrement operators is given below. [crayon-5adc68d9296a7007818412/] -
Math Functions in PHP
Posted on January 9, 2016 | No CommentsApart from arithmetic operators, we also have Math functions in PHP. Click Here for list of Math functions in PHP. There are few commonly used Math functions given below. Is_int: This function will check if the passed value is integer or not and return true or false. Is_float: This function […] -
Arithmetic Operators in PHP
Posted on January 8, 2016 | No CommentsLike any other programming language, we do have integer and float data types in PHP. Integers are whole numbers, can have both positive and negative values like -1, -2, 1, 3 etc. Floats are known as decimal numbers like 1.25, 3.2 etc. Using integers and floats, we can perform numerical […] -
More String Functions in PHP
Posted on December 29, 2015 | No CommentsAs you know by now, string functions are very useful in manipulating a string. The list of predefined string functions is huge, so we will discuss only mostly commonly used string functions. Strlen: This string function will return length of a string. Ucfirst: This string function will change case of […] -
StrToLower() & StrToUpper() String Functions
Posted on December 24, 2015 | No CommentsThere are numerous string functions in PHP. Two of them are strtolower() means string to lower case and strtoupper() string to upper case. You can use these 2 string functions in case you want to change the case of a string completely. Example of these 2 functions is given below. […]