ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions (659)
 ASP interview questions  ASP Interview Questions (252)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (176)
 VB Script interview questions  VB Script Interview Questions (343)
 JSP interview questions  JSP Interview Questions (100)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
How can we know the count/number of elements of an array?
 Question Submitted By :: PHP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
count(array) function returns the total number of elements
of specified array.
 
Is This Answer Correct ?    19 Yes 4 No
Devendrarjadav
 
Answer
# 2
$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
Mahesh
 
 
 
Answer
# 3
you can get the no: of elements in the array through
count()
syntax:
count($arrayname);
 
Is This Answer Correct ?    7 Yes 1 No
Joseph George C
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
What is RSS?How to use it in Program?   3
how to select single row from table and insert into same table as a new record by using a single sql query.   2
i am a php programmer can i be a java programmer?   3
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?   1
Explain Parsing and Execution in PHP? Where PHP Engine Return errors? CMC 3
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   3
Name the Functions in IMAP, POP3 AND LDAP?   2
How can we submit a form without a submit button? Rushmore-Consultancy 23
how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible?already i was increase php.ini but not working......   2
how to get the value in script values   1
What the difference between WAMP5 1.7.3 and WampServer 2?   3
I created a new joomla module for administrator. when am going to install this, it is going "joomla/modules" path. but, i want to install this in the "joomla/administration/modules" path.   2
 
For more PHP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com