Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How would you determine the size of a file in php?

1040


Can I run php without xampp?

998


What is difference between python and php?

957


Explain about a search-friendly site looks like?

856


What is the use of final class in php?

924


What happens if an expected input field was not submitted?

954


Explain the visibility of the property or method?

1014


Tell me what are the __construct() and __destruct() methods in a php class?

991


How to check your php installation?

997


What is properties of class?

1052


Do you know when sessions ends?

1019


why did u want to leave your past organisation?

2056


How to retrieve the original query string?

1067


Is it more secure to use cookies to transfer session ids?

959


Which programming language does php resemble to?

1009