CIW
1D0-437 · Question #23
1D0-437 Question #23: Real Exam Question with Answer & Explanation
The correct answer is D. while(@rcrds = $sth->fetchrow_array). See the full explanation below for the reasoning.
Question
Assume $sth is a valid statement handle. Which of the following correctly outputs the data from the first three columns of a result set?
Options
- Awhile(@rcrds = $sth->fetch_array)
- Bwhile(@rcrds = $sth->fetch_array)
- Cwhile(@rcrds = $sth->fetchrow_array)
- Dwhile(@rcrds = $sth->fetchrow_array)
Community Discussion
No community discussion yet for this question.