sql_explain()
function is used to return an explanation of how the SQL server will process a request. This function is used by the debugger to provide information relating to the generated SQL commands.
The function accepts 3 parameters:
-# $q
is the SQL query,
-# $serveur
,
-# $option
.
One possible usage might be:
$query = sql_get_select('column', 'table');
$explain = sql_explain($query);