CI_DB_driver::display_error()

display_error([$error = ''[, $swap = ''[, $native = FALSE]]])

Parameters:
  • $error (string) – The error message
  • $swap (string) – Any “swap” values
  • $native (bool) – Whether to localize the message
Return type:

void

Returns:

Displays the DB error screensends the application/views/errors/error_db.php template

Return type:

string

Display an error message and stop script execution.

The message is displayed using the application/views/errors/error_db.php template.

doc_CodeIgniter
2016-10-15 16:31:04
Comments
Leave a Comment

Please login to continue.