How can we know the count/number of elements of an array?
Answer Posted / joseph george c
you can get the no: of elements in the array through
count()
syntax:
count($arrayname);
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How to get a random value from a php array?
How to access a specific character in a string using php?
What is difference between session_unset and session_destroy?
What does the unset() function mean?
What does mysqli_query return?
What would occur if a fatal error was thrown in your php program?
Where are the persistent cookies stored on your computer?
What is the use of the function htmlentities?
What is difference between required and require_once in php?
How to make a class in php?
What is call by reference in php?
Write the statements that are used to connect php with mysql
Does php class need constructor?
What are php loops?
What is the difference between md5(), crc32() and sha1() crypto on php?