logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How can we find the number of rows in a result set using PHP?


  • Correct Answer
  • $result = mysql_query($sql, $db_link); $num_rows = mysql_num_rows($result); echo "$num_rows rows found"; 


  • Technology problems


    Search Results


    • 1. What is the maximum size of a file that can be uploaded using PHP and how can we change this?
    • Discuss
    • 2. How can we get the browser properties using PHP?
    • Discuss
    • 3. Can we use include ("xyz.PHP") two times in a PHP page "index.PHP"?
    • Discuss
    • 4. What is a .htacces file
    • Discuss
    • 5. Why we use array_flip
    • Discuss
    • 6. What is the functionality of md5 function in PHP?
    • Discuss
    • 7. What are the differences between GET and POST methods in form submitting?
    • Discuss
    • 8. What is a Session?
    • Discuss
    • 9. How do you destroy a particular or all Sessions?
    • Discuss
    • 10. Explain include(), include_once, require() and require_once.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment