nerdexam
Zend

200-530 · Question #3620

After executing a query on a database server, PHP offers several functions to read the resulting lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.). If such functions do not return any…

The correct answer is A. a SELECT statement returned no rows C. the connection to the database server was disconnected during query execution. See the full explanation below for the reasoning.

Question

After executing a query on a database server, PHP offers several functions to read the resulting lines, such as mysqli_fetch_assoc, pg_fetch_row, oci_fetch,etc.). If such functions do not return any rows, it means: (Choose 2)

Options

  • Aa SELECT statement returned no rows
  • Bthe transaction has been rolled back
  • Cthe connection to the database server was disconnected during query execution
  • Dthe query was too slow to execute

How the community answered

(47 responses)
  • A
    81% (38)
  • B
    13% (6)
  • D
    6% (3)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice