Jump to content

Login Help


joeysarsenal

Recommended Posts

You would use an 'if' statement something like:

 

if($_POST['username'] = 'admin') {
header("Location: adminpage.php");
}
if($_POST['username'] = 'staff01') {
header("Location: staff01page.php");
}
if($_POST['username'] = 'staff02') {
header("Location: staff02page.php");
}

Link to comment
https://forums.phpfreaks.com/topic/72267-login-help/#findComment-364428
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.