Jump to content

alkalinesi

New Members
  • Posts

    1
  • Joined

  • Last visited

alkalinesi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hey everyone, I'm new here so go easy on me. OK, so I followed the Content Management System tutorial and everything was working fine. But I then was adding a file uploader system where the user can create folders and upload images and I ran into the problem of needing the user_id. So my question is how do I grab the session user id? From my understanding the tutorials don't touch that and I'm trying everything to start the user id session, not quite sure if I'm explaining that right. As of right now I'm in the m_auth file where the log in is being validated and it looks like $stmt = the database query, so I'm trying to extract the user_id out of that. And I have $_SESSION['user_id'] = $stmt; Can anyone offer me any help or guidance? Thank you so much.
×
×
  • Create New...