ALLInterview.com :: Home Page KalAajKal.com
 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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Scripts  >>  PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
How can we find the number of rows in a result set using PHP?
 Question Submitted By :: Rajan Vardawaj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we find the number of rows in a result set using PHP?
Answer
# 1
Here is how can you find the number of rows in a result set
in PHP: $result = mysql_query($any_valid_sql,
$database_link); $num_rows = mysql_num_rows($result); echo
“$num_rows rows found”;
 
Is This Answer Correct ?    4 Yes 0 No
Rajan Vardawaj
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
Write a regular expression to get the value xxx from the string 'xxx@yyy.com'  2
How can we get the properties (size, type, width, height) of an image using PHP image functions?  4
What is PHP?  8
how to insert, update data in database  4
Is it possible to connect to a Microsoft Access database without a DSN? If so, how??  1
How can I check if a value is already in an array? Rushmore-Consultancy2
What is the difference between unlink and unset ?  3
How many ways can we get the value of current session id? L&T1
what is the url rewriting?how to rewrite the url? give any example  1
What is a role of a designer in web development. Till what level the designer will do his work. Does he gives the complete html file or the tpl file or he should also include the smarty tag in the tpl file.  1
What type of inheritance that PHP supports?  6
What is the functionality of the function strstr and stristr?  2
Name the Functions in IMAP, POP3 AND LDAP?  2
For printing out strings, there are echo, print and printf. Explain the differences.  3
How can we know the number of days between two given dates using PHP? HCL8
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? thanks  1
What is the functionality of the function html entities?  2
How can you get, the total size of a certain directory?  1
What is the PHP predefined variable that tells the What types of images that PHP supports?  1
How can we create a database using PHP and mysql?  3
 
For more PHP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com