(PHP 5, PHP 7)
Performs a query on the database
mixed mysqli::query ( string $query [, int $resultmode = MYSQLI_STORE_RESULT ] )
Object oriented style
Procedural style
mixed mysqli_query ( mysqli $link , string $query [, int $resultmode = MYSQLI_STORE_RESULT ] )
Performs a query against the database.
For non-DML queries (not INSERT, UPDATE or DELETE), this function is similar to calling mysqli_real_query() followed by ei