Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: session>> need help!

  1. #21
    Join Date
    Jul 2009
    Location
    Coquitlam BC Canada
    Posts
    46
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Yes you have to start session on every page.. And the @ sign is required...I think. And the form in login.php goes to process.php.

  2. The Following User Says Thank You to fg123 For This Useful Post:

    auriaks (09-05-2009)

  3. #22
    Join Date
    Jul 2009
    Location
    Coquitlam BC Canada
    Posts
    46
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Quote Originally Posted by JShor View Post
    Chg table members to member, and then within it chg username to loginName and password to pass as per how fg123 wrote the code.
    You can also change the code to match your database.

  4. #23
    Join Date
    Jul 2009
    Location
    Coquitlam BC Canada
    Posts
    46
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Quote Originally Posted by JShor View Post
    Actually, it's easier just to DROP table members, and then copy+paste this SQL query into your mysql admin area:

    Code:
    CREATE TABLE `test`.`members` (
    `id` INT NOT NULL ,
    `loginName` VARCHAR( 50 ) NOT NULL ,
    `pass` VARCHAR( 255 ) NOT NULL ,
    `createDate` DATETIME NOT NULL ,
    PRIMARY KEY ( `id` ) 
    ) ENGINE = InnoDB
    why do you need to create `test` table?

  5. The Following User Says Thank You to fg123 For This Useful Post:

    auriaks (09-04-2009)

  6. #24
    Join Date
    Aug 2009
    Posts
    399
    Thanks
    42
    Thanked 4 Times in 4 Posts

    Default

    Thanks, i think im done with guestbook... it works great. for now its ok... maube later ill make some improvements. Thx

  7. #25
    Join Date
    Jul 2009
    Location
    Coquitlam BC Canada
    Posts
    46
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    You're welcome!

  8. #26
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    557
    Thanks
    8
    Thanked 66 Times in 66 Posts

    Default

    Ignore `test`. that's my database name.
    - Josh

  9. #27
    Join Date
    Jul 2009
    Location
    Coquitlam BC Canada
    Posts
    46
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    Oh...Ok. I get you.

Bookmarks

Posting Permissions

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