I have a login screen that can authenticate "users" on my web app. But i also want to reuse the same login for "customers". Its an e-commerce type of web application. I am using PHP and MYSQL mainly to do my login authentication using one table.Below is my current code for verifying "users":
//Query statement for selecting details from database
$Sql = "SELECT * FROM users WHERE email = '".$user_name."' AND password = '".$password."'";