I have a form that adds data to a mysql database. I need to either approve or deny the data submitted. This is going to be done in an 'admin control panel.'

I need a way to only let me log on and execute sql safely. So should I store a password somewhere in the database and then at the beginning of every admin-only page check if the user is an admin? Would that be the easiest way?