Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Query on how to use sessions (http://www.go4expert.com/forums/query-sessions-t16617/)

krish80 21Mar2009 19:55

Query on how to use sessions
 
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

shabbir 21Mar2009 21:04

Re: Query on how to use sessions
 
Check out Login and Logout using Sessions and Cookies


All times are GMT +5.5. The time now is 11:26.