Function DatabaseDriver->failed_query_echo

Definitions

sources/database.php

  • Echo out an error message (and also log it). If the user doesn't have permissions to view queries it shows a generic message.Only use this in unusual situations, like upgrading or importing, where throwing out rough messages rather than using the normal framework is the best choice.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$message string required parameter N/A N/A Message to show