It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
tce_functions_errmsg.php File Reference


 TCExam Shared Area.


 F_print_error ($messagetype=‘MESSAGE’, $messagetoprint=“, $exit=false)
 F_display_db_error ($exit=true)
 F_error_handler ($errno, $errstr, $errfile, $errline)


 $old_error_handler = set_error_handler(’F_error_handler’, K_ERROR_TYPES)

Detailed Description

Handle error/warning/system messages.

  • message
  • warning
  • error

Function Documentation

F_display_db_error (   $exit = true)

Print the database error message.

$exit(bool) if true output a message and terminate the current script [default = true].

F_error_handler (   $errno,

Custom PHP error handler function.

$errno(int) The first parameter, errno, contains the level of the error raised, as an integer.
$errstr(string) The second parameter, errstr, contains the error message, as a string.
$errfile(string) The third parameter is optional, errfile, which contains the filename that the error was raised in, as a string.
$errline(int) The fourth parameter is optional, errline, which contains the line number the error was raised at, as an integer.

F_print_error (   $messagetype = ‘MESSAGE’,
  $messagetoprint = ,
  $exit = false 

Handle error/warning/system messages. Print a message

$messagetype(string) Type of message: 0=no message, message; warning; error.
$messagetoprint(string) message to print.
$exit(bool) if true output a message and terminate the current script [default = false].

Variable Documentation

$old_error_handler = set_error_handler(’F_error_handler’, K_ERROR_TYPES)


© 2004-2017 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy