Đã Đóng

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;

}

}

?>

Kỹ năng: PHP

Xem thêm: login to, secure files, page 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, login access php, staff member, student result database, task complete, student course, need php login, small database access, small login page code, complete task

Về Bên Thuê:
( 0 nhận xét ) leeds, United Kingdom

Mã Dự Án: #56054

8 freelancer đang chào giá trung bình $38 cho công việc này

NickolaS

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

$30 USD trong 0 ngày
(329 Đánh Giá)
7.5
elfuerte

Can do it now! Payment by paypal on completion.

$50 USD trong 0 ngày
(25 Đánh Giá)
5.0
PRABHUSOFT

Already done . Please see PM for demo.

$50 USD trong 0 ngày
(3 Đánh Giá)
5.0
Hammond

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

$50 USD trong 0 ngày
(19 Đánh Giá)
3.9
zamronypj

cost include 6 months technical support and bug fix

$30 USD trong 0 ngày
(6 Đánh Giá)
3.4
shashulog

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

$30 USD trong 1 ngày
(2 Đánh Giá)
2.6
ionsoft

done already check PM

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0
egoldpros

Check our portofolio at: http://www.egoldpros.com

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0