Ditutup

Redirect users on login

i have a secure login which fully works but would like the login to redirect the student(s) and Staff(s) to the correct page(s)

i have included my database details and files and i need the following code to go into my [url removed, login to view] page so that when student or staff login it takes them to the correct page.

small task but need it doing in a couple of hours who does it let me know and ill get funds sent to u str8.. only first person to complete the task

connection)or die (mysql_error());

$dbRedirection = mysql_fetch_array($result);

$area = $dbRedirection['access'];

if(($area == 1) || ($area == ''))

{

/*if = 1 theN staff member*/

return Staff1_URL;

}

if($area == 2)

{

/*if = 1 theN Course A*/

return Staff2_URL;

}

if($area == 3)

{

/*if = 1 theN Course A*/

return Course1_URL;

}

if($area == 4)

{

/*if = 1 theN Course A*/

return Course2_URL;

}

}

?>

Kemahiran: PHP

Lihat lebih lanjut: login to, secure files, page login, login, login it, login a, ill, first users, php redirect page, str8, redirect code, redirect login, know following, php login users, student result php, database student, funds, student result database result, login access php, staff member, student result database, task complete, student course, need php login, small database access

Tentang Majikan:
( 0 ulasan ) leeds, United Kingdom

ID Projek: #56054

8 pekerja bebas membida secara purata $38 untuk pekerjaan ini

NickolaS

Hi, I can make it in 1 hour, please, see PM

$30 USD dalam 0 hari
(329 Ulasan)
7.5
elfuerte

Can do it now! Payment by paypal on completion.

$50 USD dalam 0 hari
(25 Ulasan)
5.0
PRABHUSOFT

Already done . Please see PM for demo.

$50 USD dalam 0 hari
(3 Ulasan)
5.0
Hammond

Hi! I can do this for you right now! Check PMB.

$50 USD dalam 0 hari
(19 Ulasan)
3.9
zamronypj

cost include 6 months technical support and bug fix

$30 USD dalam 0 hari
(6 Ulasan)
3.4
shashulog

Very simple. Nothing hard to do that. Only thing is who get the chese.

$30 USD dalam sehari
(2 Ulasan)
2.6
ionsoft

done already check PM

$30 USD dalam 0 hari
(0 Ulasan)
0.0
egoldpros

Check our portofolio at: [url removed, login to view]

$30 USD dalam sehari
(0 Ulasan)
0.0