nerdexam
National_Instruments

200-500 · Question #140

The function mysqli_affected_rows() can be used to perform which of the following actions? (Choose 2)

The correct answer is B. get the number of rows that are affected by UPDATE statements C. get the number of rows that are affected by INSERT statements. See the full explanation below for the reasoning.

Question

The function mysqli_affected_rows() can be used to perform which of the following actions? (Choose 2)

Options

  • Aget the number of rows that are affected by SELECT statements
  • Bget the number of rows that are affected by UPDATE statements
  • Cget the number of rows that are affected by INSERT statements
  • Dget the number of rows in a result set
  • Eget the numbers of rows that are affected after committing a transaction using COMMIT

How the community answered

(49 responses)
  • A
    10% (5)
  • B
    84% (41)
  • D
    4% (2)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice