How can we know the count/number of elements of an array?
Answer Posted / mahesh
$std=$mb->Get_Students();
then using
$cnt = count($std);
echo $cnt;
will display the total number of that array
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Explain the casts allowed in PHP?
How to enable error reporting in php?
What is substr in php?
Explain me what is the goto statement useful for?
What is print_r?
What are getters and setters php?
How check variable is set or not in php?
Which is useful for method overloading?
What difference between require() and require_once()?
What software is required for php?
What type of comments are supported by PHP.
What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?
What is $_ env in php?
Where sessions stored in PHP?
How to get best php developer Experience in Php with Sugar CRM / VTiger.