Query on how to use sessions

Newbie Member
21Mar2009,19:55   #1
krish80's Avatar
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
Go4Expert Founder
21Mar2009,21:04   #2
shabbir's Avatar
Check out Login and Logout using Sessions and Cookies