|
IT Companies: Assess your candidates for free!
Business Solutions
SIGN UP
LOGIN
Challenges
Examples
E-books
API
Home
»
Examples
»
PHP
»
Arrays
»
Arrays
Arrays
35
1343 reads
February 22, 2013
Using COMPACT() function to create an array
The compact() function creates an array from variables and their values.
33
1444 reads
February 22, 2013
Using EXTR_PREFIX_ALL on a numeric array
Prefix all variable names with prefix. It adds the word to the prefix of array. So that if there is element outside the array don't get ambiguous.
37
1498 reads
February 22, 2013
Using extract with the EXTR_PREFIX_ALL directive
Prefix all variable names with prefix. It adds the word to the prefix of array. So that if there is element outside the array don't get ambiguous.
39
1514 reads
February 22, 2013
Using extract on an associative array
Using Extract we can get value of specific element
24
1392 reads
February 22, 2013
Displaying a multidimensional array
Displaying Multidimensional Array
29
1426 reads
February 22, 2013
Creating a multidimensional array
an array inside an array is called multidimensional array
38
1367 reads
February 22, 2013
Using sort to alphabetize
sort() function will sort the array in ascending order.
175
2118 reads
February 22, 2013
Counting the elements in an array
Counting the elements in an array using count() function
39
1453 reads
February 22, 2013
Displaying the contents of an array using a loop
Display the Contents of an array using a loop
34
1503 reads
February 22, 2013
Displaying one value from an array
Getting Specific output from the array
1
2
3
4
5
6
7
8
9
…
next ›
last »