PHP Coding tips & tricks. Function & error explanation, coding style, how tos etc. Short notes posted directly from developer work environment.
PHP Coding Tips
Friday, August 17, 2012
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
have read your blog its very attractive and impressive. I like it your blog.
ReplyDeletePHP 7 Training in chennai | PHP 7 Training Course
PHP 7 Training in chennai | Online PHP 7 Course