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
Last revisionBoth sides next revision
wiki:sql [2020/01/06 16:52] – [DELETE or UPDATE] gregorwiki:sql [2020/07/11 19:25] – [INSERT] gregor
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.txt · Last modified: 2024/03/05 13:13 by 127.0.0.1