mysqli::real_query
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Execute an SQL query
Description
Oop
mysqli::real_query(string $query): bool
Procedural
mysqli_real_query(mysqli $mysql, string $query): bool
Executes a single query against the database whose result can then be retrieved or stored using the mysqli_store_result() or mysqli_use_result() functions.
Warning
In order to determine if a given query should return a result set or not, see mysqli_field_count().
Parameters
queryThe query string.
Return Values
Success