Tag Archives: Connect Application

PHP Array All Functions

PHP Array Functions The following list show the different function used in an array. – array_change_key_case : Changes all keys in an array – array_chunk : Used to split an array into pieces. – array_column : Used to return the values from a single column in the input array – array_combine : Used to creates an array by using one array for keys and another for its values. – array_count_values : Used to counts all the values of… Read More »

PHP Array Sort Functions

The elements in an array can be either be sort ascending, descending, alphabetical and numerical order. Lets discuss the different sort function used in PHP. – sort() – used to sort arrays in ascending order. – rsort() – used to sort arrays in descending order. – asort() – used to sort associative arrays in ascending order as per values. – ksort() – used to sort associative arrays in ascending order as per key.… Read More »

PHP Array

Introduction to Array When creating long, complex programs, it sometimes becomes difficult to access certain elements in a program. for example there is a limitation for using variables in a program: when you declare a variable, you can assign only one value to it. In certain case , you may want to declare hundreds of variables and… Read More »

PHP Operators

Introducing Operators In the previous section you learned about variables, data type, and constant and how to declare them. However, to use or declare variables or constants you need operators. The fallowing problem and itssolution explain the use of operators. Identify the operators to be used Operators are an integral part of any programming language, they are symbol that represent a specific action.… Read More »