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 can I increase my website session?
Tell me what is use of in_array() function in php?
What are the characteristics of php variables?
What is the difference between session_unregister() and session_unset()?
What is $_ env in php?
How be the result set of mysql handled in php?
Do you know how can we check the value of a given variable is a number?
What is the use of "enctype" attribute in a html form?
Is php pass by reference or value?
Describe session in php.
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
What are psrs? Choose 1 and briefly describe it?
What is local variable in php?
What is query string php?
How to get the position of the character in a string in php?