User Tools

Site Tools


wiki:sql

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:sql [2020/01/06 16:52] – [DELETE or UPDATE] gregorwiki:sql [2024/03/05 13:13] (current) – external edit 127.0.0.1
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;
wiki/sql.1578347538.txt.gz · Last modified: 2024/03/05 12:58 (external edit)