Information for using Silent Dismissal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:sql [2020/01/06 16:52]
gregor [DELETE or UPDATE]
wiki:sql [2020/07/11 19:25] (current)
gregor [INSERT]
Line 14: Line 14:
 <code php> <code php>
 if ($mysqli->query($sql) === false) { if ($mysqli->query($sql) === false) {
- $errmsg .= '<p class="bg-danger">TRX DESC: ' . $mysqli->error . '</p><p>' . $sql . '</p>';+ $log $_SERVER['PHP_SELF'].' SQL ERROR: '.$mysqli->error.'  ** SQL: '.$sql
 + f_log($log);
 } else { } else {
  $newkey=$mysqli->insert_id;  $newkey=$mysqli->insert_id;

QR Code
QR Code wiki:sql (generated for current page)