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 (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (338)
 JSP interview questions  JSP Interview Questions (99)
 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 :: PhpWizz
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we know the count/number of elements of an array?
Answer
# 1
count(array) function returns the total number of elements
of specified array.
 
Is This Answer Correct ?    19 Yes 4 No
Devendrarjadav
[The Maharaja Sayajirao University Of Bar]
 
  Re: How can we know the count/number of elements of an array?
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
 
 
 
  Re: How can we know the count/number of elements of an array?
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
 
How i can integrate merchant payment get way in zen cart? in php? plz help me BA-Continnum-Solutions 1
What are the advantages and disadvantages of Cascading Style Sheets?   1
What is .htaccessfile and use of this file   5
In forms when i am click submit button it will store on the desired table as well as it send to paticuler mail id. Any body know the answer plz give me detail information.   2
How can I get the only name of the current executing file?   6
How data or variable can be receive or send from PHP to HTML page?? TCS 3
How many ways can we get the value of current session id? L&T 3
how can i get USA time using php...   1
What is indexing how many types? Net-Solution 3
recurring account in PayPal payment gateway? A1-Technology 1
What is PEAR in PHP?   3
why header() gives the error like header already sent in php please explain in brief   1
 
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