<?php if ($_SESSION['id'] != ""): ?>
should be
<?php if (isset($_SESSION['id']) && $_SESSION['id'] != ""): ?>
1
solved what’s wrong with my code? 9
<?php if ($_SESSION['id'] != ""): ?>
should be
<?php if (isset($_SESSION['id']) && $_SESSION['id'] != ""): ?>
1
solved what’s wrong with my code? 9