Alright, so for the past two days, I\'ve been scouring the internet and trying my best to put together a rather sophisticated login system. I\'ve got the core of it working, use
Just one thing I noticed right away, but might not completely solve the problem:
echo $_SESSION['user']
should be
echo $_SESSION['myusername']