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 13 of 13
  1. #11
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Default

    Quote Originally Posted by Blinger View Post
    It's hard to say if your script should work or not without seeing it. Post that snippet of code then.
    PHP Code:
    $resultmysqli_query($con,"SELECT * FROM website WHERE `WebsiteID` = 1");
    $row mysqli_fetch_array($result);

    $maresultmysqli_query($con,"SELECT * FROM masteraccount WHERE `username` = '"$_SESSION['username'] ."'");
    $marow mysqli_fetch_array($maresult);

    //===============Setting Variables:
    $_SESSION['skin'] = $marow['cskin']; 
    Snipped the majority of it out, the other sessions work the same way and work fine.

  2. #12
    Join Date
    Oct 2011
    Location
    Melbourne
    Posts
    637
    Tokens
    1,376

    Default

    Quote Originally Posted by Jack! View Post
    Snipped the majority of it out, the other sessions work the same way and work fine.
    That looks like it should work. Have you tried "hardcode" the $_SESSION['skin'] so it is the name of your .PNG file? Does the file name match exactly your image? What is your output? Not from the program you're coding in, but your browser

  3. #13
    Join Date
    Jul 2007
    Location
    UK
    Posts
    2,470
    Tokens
    2,975

    Latest Awards:

    Default

    Quote Originally Posted by Blinger View Post
    That looks like it should work. Have you tried "hardcode" the $_SESSION['skin'] so it is the name of your .PNG file? Does the file name match exactly your image? What is your output? Not from the program you're coding in, but your browser
    That bit does work fine, I'll try it and see what happens.

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
  •