title: How can I check if a user is logged-in in php?
body: <p>I'm pretty new to PHP and I am trying to figure out how to use sessions to check and see if a user is logged into a website so that they would have authorization to access specific pages.</p>
  <p>Is this something that is complicated or is it because I am a noob that I can't figure it out?</p>