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
How would you determine the size of a file in php?
Can I run php without xampp?
What is difference between python and php?
Explain about a search-friendly site looks like?
What is the use of final class in php?
What happens if an expected input field was not submitted?
Explain the visibility of the property or method?
Tell me what are the __construct() and __destruct() methods in a php class?
How to check your php installation?
What is properties of class?
Do you know when sessions ends?
why did u want to leave your past organisation?
How to retrieve the original query string?
Is it more secure to use cookies to transfer session ids?
Which programming language does php resemble to?