Page 6 of 6 FirstFirst ... 23456
Results 51 to 53 of 53
  1. #51

    Default

    Quote Originally Posted by Calon View Post
    If I remember correctly, I removed the ban code.

    And the session hasn't been set, it's so $username can be called instead of $_SESSION[ 'username' ]
    I didn't want to tripple post, but I got it. I was still connecting to an old table, rather than the new table somewhere else in the script. Oh, and $_SESSION['username'] should have been $_SESSION['user'].

  2. #52
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Jam-ez View Post
    I didn't want to tripple post, but I got it. I was still connecting to an old table, rather than the new table somewhere else in the script. Oh, and $_SESSION['username'] should have been $_SESSION['user'].
    No, it should not be $_SESSION['user']. It doesn't matter what session names are called, and I called it username as it's a full username, not just 'user' which isn't shortened.

  3. #53

    Default

    Quote Originally Posted by Calon View Post
    No, it should not be $_SESSION['user']. It doesn't matter what session names are called, and I called it username as it's a full username, not just 'user' which isn't shortened.
    Thanks, I'll change them all to $_SESSION['username'] instead.

Page 6 of 6 FirstFirst ... 23456

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •