Fermé

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;

}

}

?>

Compétences : PHP

Voir plus : 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

Concernant l'employeur :
( 0 commentaires ) leeds, United Kingdom

N° du projet : #56054

8 freelance ont fait une offre moyenne de 38 $ pour ce travail

NickolaS

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

30 $ USD en 0 jours
(329 Commentaires)
7.5
elfuerte

Can do it now! Payment by paypal on completion.

50 $ USD en 0 jours
(25 Commentaires)
5.0
PRABHUSOFT

Already done . Please see PM for demo.

50 $ USD en 0 jours
(3 Commentaires)
5.0
Hammond

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

50 $ USD en 0 jours
(19 Commentaires)
3.9
zamronypj

cost include 6 months technical support and bug fix

30 $ USD en 0 jours
(6 Commentaires)
3.4
shashulog

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

30 $ USD en 1 jour
(2 Commentaires)
2.6
ionsoft

done already check PM

30 $ USD en 0 jours
(0 Commentaires)
0.0
egoldpros

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

30 $ USD en 1 jour
(0 Commentaires)
0.0