php authentication help?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
adilmarwat2004
Forum Commoner
Posts: 44
Joined: Fri Sep 04, 2009 11:28 pm

php authentication help?

Post 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?
mikosiko
Forum Regular
Posts: 757
Joined: Wed Jan 13, 2010 7:22 pm

Re: php authentication help?

Post by mikosiko »

just show the code that you have wrote so far... and ask for specific doubts...
Post Reply