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
 
•How do you create subdomains using PHP?   1
What are the differences between procedure-oriented languages and object-oriented languages? ASD-Lab 6
How many requests will be send to server and response coming from server when you open a web page (e.g. xyz.php) which has an image tag? Persistent 2
What’s the difference between sort(), assort() and ksort? Under what circumstances would you use each of these?   2
Hello Friends,I am seeking for a job in php having 2yrs. exp.Please suggest any company openings.   1
How can I make a script that can be bilanguage (supports English, German)?   3
How session works (internal processing of session) ? ASD-Lab 3
difference of move(), and copy() function in php?   3
What are the differences between include() and include_once () functions?   10
How to communicate with sockets in php?   1
What is the full form of PHP? APPLE 15
1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <? echo'naskfdjnask'; three programs are exected but which is beter why HCL 3
 
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