How can we know the count/number of elements of an array?

Answer Posted / devendrarjadav

count(array) function returns the total number of elements
of specified array.

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reference variable php?

511


Where sessions stored in PHP?

546


What does the function get_magic_quotes_gpc() means?

509


Explain which cryptographic extension provide generation and verification of digital signatures?

535


What is the use of "ksort" in php?

513






What is instantiation?

1748


Which function is used in php to count the total number of rows returned by any query?

529


How a constant is defined in a php script?

572


What are the functions to be used to get the image's properties (size, width and height)?

550


What is a php class?

543


Explain the difference between mysql_connect and mysql_pconnect?

486


Does php support function overloading?

573


How to connect to mysql from a php script?

563


What is the use of count() function in php?

534


What is advanced php programming?

550