Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    $_POST not $POST_

    Personally, I find it easier to create tables in myphpadmin.
    Vouches
    [x][x]

  2. #12
    Join Date
    Mar 2009
    Location
    Western Australia
    Posts
    386
    Tokens
    0

    Default

    Yeah mistype, I had $POST_ in the actual code, I've got it working now so that it goes to my database and then on another page I select the table and view it on a table using HTML but now the problem is it will keep adding.

    Name - Email - Question
    Name - Email - Question
    Name - Email - Question

    Of course it being the actual details but I'm not sure how to have it so when you press a button it deletes the single name - email - question. I'm learning from W3schools and that wasn't very helpful for this, so far.

  3. #13
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Use/Learn from Lew's code.
    Vouches
    [x][x]

  4. #14
    Join Date
    Mar 2009
    Location
    Western Australia
    Posts
    386
    Tokens
    0

    Default

    I'll give it a shot, I'm trying to put xampp on my usb so I don't have to return to my faulty computer.

  5. #15
    Join Date
    Oct 2008
    Posts
    35
    Tokens
    0

    Default

    PHP Code:
     <?php

    define
    ('HOST','localhost');
    define('USERNAME','root');
    define('PASSWORD','');

    $con mysql_connect(HOST,USERNAME,PASSWORD) or die(mysql_error());

    ?>
    this is more simplier way to check whether if the connect acutally works

    Neil
    </div>

  6. #16
    Join Date
    Sep 2009
    Location
    Hull
    Posts
    827
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by 23:02 View Post
    PHP Code:
     <?php

    define
    ('HOST','localhost');
    define('USERNAME','root');
    define('PASSWORD','');

    $con mysql_connect(HOST,USERNAME,PASSWORD) or die(mysql_error());

    ?>
    this is more simplier way to check whether if the connect acutally works

    Neil
    </div>
    I do believe I had that in my post a little earlier on Never the less, we all might as well contribute as when we were all learning php ect, we wanted as much help as possible

    As a pose to learning from my code, its a good ideas as using functions within your code saves time, both coding and loading time (i think :S) lol

    Lew.
    Im not here to be loved, I love to be hated :-}


Page 2 of 2 FirstFirst 12

Posting Permissions

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