Page 1 of 1

php authentication help?

Posted: Sat Mar 13, 2010 12:21 pm
by adilmarwat2004
I have mysql table name user contains three fields
id(int), name(char), pass(char)
1 budget account
2 advt inf


I want to code like in php that when the user provide the name as 'budget' and 'account' as password in specific field it should direct to budget.php

and when the user prove the name as 'advt' and 'inf' as password then it should be direct to advt.php

How it is possible.

please help?

Re: php authentication help?

Posted: Sat Mar 13, 2010 5:36 pm
by mikosiko
just show the code that you have wrote so far... and ask for specific doubts...