:: 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                      
Categories >> Software >> Scripts >> PHP


 PHP interview questions  PHP Interview Questions (659)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (175)
 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)
How can we know the count/number of elements of an array?
 Question Submitted By :: PHP
I also faced this Question!!     Answer Posted By  
# 1
count(array) function returns the total number of elements
of specified array.
Is This Answer Correct ?    19 Yes 4 No
# 2
then using
$cnt = count($std);
echo $cnt;
will display the total number of that array
Is This Answer Correct ?    8 Yes 2 No
# 3
you can get the no: of elements in the array through
Is This Answer Correct ?    7 Yes 1 No
Joseph George C

Other PHP Interview Questions
  Question Asked @ Answers
Why these language is needed?   3
What are the differences between PHP3 and PHP4 versions?   1
How can I use the COM components in php? Rushmore-Consultancy 1
Which of the following represents the proper way to set a session variable? Answer: a. $_SESSION['foo'] = 'bar'; b. session_start(); c. session_set_save_handler ('myopen', 'myclose', 'myread', 'mywrite', 'mydelete', 'mygarbage'); d. $foo = $_SESSION['foo']; 2.When administering MySQL, you should make the data directory accessible via the operating system 3.which statement can be used to determine how the optimizer resolves a query TCS 9
How can you insert javascript in php code? TCS 13
What are the differences between public, private, protected, static, transient, final and volatile?   3
can anyone explain oops concept in php or give website to learn this concept clearly? Satyam 2
what is pear in php in brief ?   1
write function of the sentence traversal passing the parameter, e.g input:this is input sentence. output:sentence input is this. HyperQuality 1
how to get the value in script values   1
How do you format and output a number with leading zero's?   3
What is .htaccessfile and use of this file   5
For more PHP Interview Questions Click Here 

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