I have a log in script where I have been able to successfully make users, and log in. Now my issue is that whenever I try to use my method of protecting pages, being seeing if t
You have session_start(); after $_SESSION['user'] = $row; Actually you have it after a die(); command. Nothing happens after that.
session_start();
$_SESSION['user'] = $row;
die();
Put session_start(); at the top of PHP in every page (pref common.php since you have one) not just one page.