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 14:34]
gregor [SELECT]
wiki:sql [2020/01/06 16:52] (current)
gregor [DELETE or UPDATE]
Line 5: Line 5:
 <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 {
  $rows = $mysqli->​affected_rows;​  $rows = $mysqli->​affected_rows;​

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