This commit is contained in:
2024-06-18 16:52:52 +02:00
parent 252fe7ce44
commit 056aceaaaa
46 changed files with 6791 additions and 1407 deletions

View File

@@ -5,7 +5,6 @@ require_once 'core.inc.php';
if (loggedin()) {
$name = getuserfield('name');
// echo ' You are logged in '. $name.' <a href="logout.php">Log out</a><br>';
header('Location: ../index.php');

View File

@@ -15,7 +15,6 @@ if (isset($_POST['email']) && isset($_POST['password'])) {
if ($query_num_rows == 0) {
echo 'invalid email/password combination';
} else if ($query_num_rows == 1) {
//treba nam $user_id
$row = mysqli_fetch_assoc($query_run);
$user_id = $row['id'];