logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?


  • Correct Answer
  • mysql_fetch_array: Fetch a result row as an associative array and a numeric array mysql_fetch_object: Returns an object with properties that correspond to the fetched row and moves the internal data pointer ahead Returns an object with properties that correspond to the fetched row, or FALSE if there are no more rows mysql_fetch_row(): Fetches one row of data from the result associated with the specified result identifier The row is returned as an array Each result column is stored in an array offset, starting at offset 0 


  • Technology problems


    Search Results


    • 1. What is the functionality of the function strstr and stristr?
    • Discuss
    • 2. What are the different types of errors in php?
    • Discuss
    • 3. How can we extract string "abc.com" from a string "https://info@abc.com" using regular _expression of php?
    • Discuss
    • 4. Explain include(), include_once, require() and require_once.
    • Discuss
    • 5. How do you destroy a particular or all Sessions?
    • Discuss
    • 6. What are encryption functions in PHP?
    • Discuss
    • 7. How to set cookies?
    • Discuss
    • 8. How can we know the number of days between two given dates using php?
    • Discuss
    • 9. How to store the uploaded file to the final location?
    • Discuss
    • 10. Explain $_FILES Superglobal Array.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment