# mysql\_stmt\_next\_result

## Syntax

```c
int mysql_stmt_next_result(MYSQL_STMT * stmt);
```

* `stmt` - a statement handle, which was previously allocated by [mysql\_stmt\_init()](https://mariadb.com/docs/connectors/mariadb-connector-c/api-prepared-statement-functions/mysql_stmt_init).

{% @marketo/form formId="4316" %}
