mysqli_stmt_sqlstate

Supported Versions: PHP 5, PHP 7, PHP 8
Returns SQLSTATE error from previous statement operation
<?php mysqli_stmt_sqlstate(mysqli_stmt $statement): string