Not Just A Random Blog archive
Tag: arrays


PHP Operators

by Cyle
Categories: php
Tags: , , ,
Comments: Leave a Comment

An operator is something that takes one value and yields it with another value to produce a new value or expression. There are many different types of operators used in PHP. Below they are broken into categories. Arithmetic Operators Assignment Operators Bitwise Operators Comparison Operators Error Control Operator Incrementing/Decrementing Operators Logical Operators String Operators Array[…]


PHP Arrays

by Cyle
Categories: php
Tags: ,
Comments: 1 Comment

In php, arrays contain data (also known as values) per key. The key can be an integer or a string, and the value can be any php data type. Let’s start with the basics… Creating an Array To create a new array we use the array() function: $myarray = array(); //creates an empty array$myarray =[…]

Today is Thursday