?
mysql_next_result() does not return.
Answer & Solution
Correct Answer:
Option
B
This question is about a function in MySQL called mysql_next_result(). This function is used to check if there are any more results to fetch from a query that can produce multiple result sets.
The question asks if mysql_next_result() doesn't return anything.
The answer is Option B: False.
Why? Because mysql_next_result() does return something. It returns a boolean value (either true or false).
* True: Means there are more results to be fetched.
* False: Means there are no more results.
So, mysql_next_result() always returns a value. It never simply doesn't return.
The question asks if mysql_next_result() doesn't return anything.
The answer is Option B: False.
Why? Because mysql_next_result() does return something. It returns a boolean value (either true or false).
* True: Means there are more results to be fetched.
* False: Means there are no more results.
So, mysql_next_result() always returns a value. It never simply doesn't return.
Join the Discussion
Login to post a comment or share your explanation.
Login