The older mysql extension has the CLIENT_FOUND_ROWS connection flag, but I couldn\'t find any equivalent for mysqli.
CLIENT_FOUND_ROWS
I have an up
up
it's in the options of mysqli_real_connect.
Also introduced in PDO::MySQL in PHP 5.3.