Query on how to use sessions

Discussion in 'PHP' started by krish80, Mar 21, 2009.

  1. krish80

    krish80 New Member

    Joined:
    Mar 11, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice