1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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,276
    Likes Received:
    364
    Trophy Points:
    83

Share This Page