I have a stored procedure that has multiple result sets. How do I advance to the 2nd result set in mysqli to get those results?
Let\'s say it\'s a stored proc like:<
It looks like MySQLi may only support multiple result sets through mysqli_multi_query(), since MySQLi_STMT objects work differently from MySQLi_Result objects.
PDO seems to be somewhat more abstracted, with the PDOStatement objects being able to handle multiple result sets for both regular queries (PDO::query) and prepared statements(PDO:prepare).