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


Please Help Members By Posting Answers For Below Questions

What is empty php?

497


What distinguishes php from something like client side java script?

538


Do you know how can php and html interact?

541


Which function can be used to delete a file?

594


Are php variables global?

564






What does mvc stand for and what does each component do?

543


What is session in php w3schools?

560


A process can run only in the background. State Whether True or False?

626


What does namespace mean in php?

556


What does php exit do?

537


What is the best website to learn php?

530


Explain some of the php array functions?

582


What is the use of mysqli_real_escape_string() function?

521


Tell me how comfortable are you with writing html entirely by hand?

518


What is session and Cokkies . How it works . tell some thing about Session_id()

1541