adspace


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

sort term descripttion form, report and uery

2254


List some features of php that are deprecated in php7?

1024


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1994


How to create a web form?

1113


What is difference between static and final in php?

1109


What is the difference between htmlentities() and htmlspecialchars()?

1094


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1080


What is the current stable version of php? What advance thing in php7?

1095


Name and explain five of the PHP error constants?

1039


Explain me is it possible to destroy a cookie?

1032


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2179


Tell me what kind of things have you done on the social side?

1067


how to detect a mobile device using php

1174


What does $_files means?

1166


Write a program using while loop?

1122