Returns the error message otherwise.
public static mysqlDie ( string | boolean $server_msg = '', string $sql_query = '', boolean $is_modify_link = true, string $back_url = '', boolean $exit = true ) : string | ||
$server_msg | string | boolean | Server's error message. |
$sql_query | string | The SQL query that failed. |
$is_modify_link | boolean | Whether to show a "modify" link or not. |
$back_url | string | URL for the "back" link (full path is not required). |
$exit | boolean | Whether execution should be stopped or the error message should be returned. |
Résultat | string |