php authentication help?
Posted: Sat Mar 13, 2010 12:21 pm
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?
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?