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 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Try this:
    PHP Code:
    $skin mysql_query("SELECT * FROM skins ORDER BY id ASC LIMIT 10");

    while (
    $fetch mysql_fetch_array($skin)) {
    echo 
    "$fetch['name']
    $fetch['path']
    $fetch['description']
    $fetch['author']";

    Back for a while.

  2. #12
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    *cough* indentation *cough*


    www.fragme.co = a project.

  3. #13
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Meh, stuff indentation for query's lol.
    Back for a while.

  4. #14
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    But.... it looks so pretty


    www.fragme.co = a project.

  5. #15
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Source View Post
    But.... it looks so pretty
    LMAO, I like my code ugly
    Back for a while.

  6. #16
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    lemme guess... girls to?

    Back on topic, mine should worketh along with thou excellénts.


    www.fragme.co = a project.

  7. #17
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Source View Post
    lemme guess... girls to?

    Back on topic, mine should worketh along with thou excellénts.
    Yeah, especially after your mother hasn't washed in about a week Mine shal' worketh' without editing because source was to lazy to type it all out..eth!
    Back for a while.

  8. #18
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Excellent2 View Post
    Try this:
    PHP Code:
    $skin mysql_query("SELECT * FROM skins ORDER BY id ASC LIMIT 10");

    while (
    $fetch mysql_fetch_array($skin)) {
    echo 
    "$fetch['name']
    $fetch['path']
    $fetch['description']
    $fetch['author']";

    That would make "unexpected T_String" I think.
    Lets set the stage on fire, and hollywood will be jealous.

  9. #19
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Tom743 View Post
    That would make "unexpected T_String" I think.
    Me no no think so?
    Back for a while.

  10. #20
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    I don't think you can use LIMIT 10, Use "LIMIT 0, 10"

    So, use:

    PHP Code:
    $skin mysql_query("SELECT * FROM skins ORDER BY id ASC LIMIT 0, 19");

    while(
    $fetch mysql_fetch_array($skin)) {
        echo 
    $fetch['name'];
        echo 
    $fetch['path'];
        echo 
    $fetch['description'];
        echo 
    $fetch['author'];

    Last edited by Hypertext; 29-09-2008 at 07:42 PM.
    How could this hapen to meeeeeeeeeeeeeee?lol.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

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