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 abstraction php?

712


Explain the difference between unlink() and unset()?

718


What is session cookies php?

730


How to generate a form?

788


Explain difference between urlencode and urldecode?

726


How can we automatically escape incoming data?

688


What kind of variable is age?

834


What is the use of offset in mysql?

685


What is the functionality of the functions strstr() and stristr()?

709


What is a trait in php?

741


What are the features and advantages of object-oriented programming in php?

668


Write a select query that will be displayed the duplicated site name and how many times it is duplicated?

758


What are the correct and the most two common way to start and finish a PHP block of code?

811


Why do we use htaccess and where?

728


Php error constants and their descriptions

805