How do I find the size of an array?
$values = range("A","Z");
This will print "26" to the screen.
Alternatively you can use sizeof($arrayname) instead - it will return the same result.
More arrays PHP QuestionsHow do I count the number of times a value appears in an array?
How do I sort an array by key?
Hi. i have a music samples website. in one table, id like a different sample to appear every time the page is refreshed. how do i acheve this? how can i alterate and retrieve these bloody mp3's? surely i can use a PHP script? thankyou
what is a array?
what is arrays