Skip to content

Commit

Permalink
2.11.22 Add first last name output
Browse files Browse the repository at this point in the history
  • Loading branch information
webpwnized committed Oct 8, 2024
1 parent 8a4a8a7 commit 2494e4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/set-up-database.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

require_once 'classes/MySQLHandler.php';
$MySQLHandler = new MySQLHandler($lSecurityLevel);
$lErrorDetected = false;

$lErrorDetected = false;

function format($pMessage, $pLevel) {
$styles = [
Expand Down Expand Up @@ -201,8 +202,7 @@ function format($pMessage, $pLevel) {
('matilda', 'journalist123', 'Investigative reporter', 'FALSE', 'Matilda', 'Jeffries', '".bin2hex(random_bytes(32))."'),
('maury', 'maury123', 'Youre the guy who cant turn left', 'FALSE', 'Maury', 'Ballstein', '".bin2hex(random_bytes(32))."')";
$lQueryResult = $MySQLHandler->executeQuery($lQueryString);
$lQueryResult = $MySQLHandler->executeQuery($lQueryString);
if (!$lQueryResult) {
if (!$lQueryResult) {
$lErrorDetected = true;
}else{
echo "<div class=\"database-success-message\">Executed query 'INSERT INTO TABLE' with result ".$lQueryResult."</div>";
Expand Down

0 comments on commit 2494e4e

Please sign in to comment.