PHP: mysqli::real_query - Manual (original) (raw)
mysqli_real_query
(PHP 5, PHP 7, PHP 8)
mysqli::real_query -- mysqli_real_query — Execute an SQL query
Description
Object-oriented style
public mysqli::real_query(string $query): bool
In order to determine if a given query should return a result set or not, see mysqli_field_count().
Return Values
Returns [true](reserved.constants.php#constant.true) on success or [false](reserved.constants.php#constant.false) on failure.
See Also
- mysqli_query() - Performs a query on the database
- mysqli_store_result() - Transfers a result set from the last query
- mysqli_use_result() - Initiate a result set retrieval