How can we know the count/number of elements of an array?
Answers were Sorted based on User's Feedback
Answer / devendrarjadav
count(array) function returns the total number of elements
of specified array.
| Is This Answer Correct ? | 19 Yes | 4 No |
Answer / 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 |
Answer / 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 |
What are the features of php?
What does addslashes do in php?
What is meant by public, private, protected, static and final scopes?
What is $_ get and $_ post in php?
when we select some checkboxes and we went for next page if we came back to prevoius page the selcted checkboxe should be checked
Tools used for drawing er diagrams?
can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com
when you will get the message/error "headers already sent"?
What kind of variable is age?
Differentiate echo vs. Print statement.
Write down the code for save an uploaded file using php?
What is html used for?