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 15 of 15

Thread: PhP help

  1. #11
    Join Date
    Jul 2007
    Location
    South Wales
    Posts
    1,386
    Tokens
    0

    Latest Awards:

    Default

    i dont now still not working :S
    Im a runescape player.



  2. #12
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    90

    Latest Awards:

    Default

    Quote Originally Posted by Hitman View Post
    Also, shouldn't the if statement be like this:

    PHP Code:
    <?
    $host 
    "localhost";
    $dbuser "Database User";
    $dbpwd "Database Password";
    $db "Database Name";
    $connect mysql_pconnect($host$dbuser$dbpwd);
    if(!
    $connect) {
    echo(
    "Could not connect to database...");
    } else {
    $select mysql_select_db($db);
    }
    ?>
    That should be fine, I don't get it, what editor are you using, Notepad?

  3. #13
    Join Date
    Jul 2007
    Location
    South Wales
    Posts
    1,386
    Tokens
    0

    Latest Awards:

    Default

    No dreamweaver :S
    Im a runescape player.



  4. #14
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    90

    Latest Awards:

    Default

    Are you putting it in the code section and not the actual page? Try notepad.

  5. #15
    Join Date
    Jul 2007
    Location
    South Wales
    Posts
    1,386
    Tokens
    0

    Latest Awards:

    Default

    d.w hitman helping me
    Im a runescape player.



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
  •