login page in php for different departments using sessions

  mysqli, php

login page in php for different department in mysqli procedural
SELECT * FROM manager WHERE mailid = ‘$username’ && password = ‘$password’ && dept = ‘marketing’ || dept = ‘sales’";

Source: Ask PHP

LEAVE A COMMENT