Hey there, I'm new to MYSQL and PHP and I'd like to ask a few questions;
I have a database with 3 users and I want to check if that person is an administrator, I've already created the field 'Admin' in the database, but I don't know how to check it in the file.
I'm using a login system and it saves the session of his ID and the name.
$member = mysql_fetch_assoc($result);
$_SESSION['SESS_MEMBER_ID'] = $member['id'];
$_SESSION['SESS_FIRST_NAME'] = $member['Name'];
Is there a way to check if that specific person is an admin?
Thanks in advance.