I have two table one which has username and password and the another one has simply a set of records.

Table 1
username password
krish krish

Table 2
username record 1 record 2
krish 11 80

I want to create a simple login page which logs in and will show both records in table 2.
Some one told me to use sessions, but i didnt figure out how to do that.


help me...

thanks in advance

krish