How to get size of an array in PHP (count elements) ?

To count elements and grab size of an array in php just use a count function:$elementsNumber = count( $array ); This will return a number of elements that are set in array

Comments

Popular posts from this blog

How to construct a B+ tree with example

How to show only month and year fields in android Date-picker?

Visitor Counter Script Using PHP