in docs-6/globals.php
Resource of the query executed.
<?php global $last_result; ?>
More information about formatting options