Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Apr 2006
    Location
    UK
    Posts
    4,830
    Tokens
    0

    Latest Awards:

    Default NintendoNew's Rare Values Panel HELP! *coders*

    Hello can anyone make me the template base to view the rares into a table intead of a strait line?

    Thanks Karl

    Need a domain but dont have paypal... not to worry. You can purchase a domain via text or home phone at XeoDomains.mobi.

    (X Moderator)
    AKA Cheekykarl

  2. #2
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    $n 1;
    echo (
    "<table><tr>
    while (FETCHRARESQUERY){
    if (
    $n == '4' | $n == '8' | $n == '12'){
    echo ("
    <tr></tr>
    }
    echo (
    "<td>RARE</td>"); 
    But that will display up to 12 rares u wanna change it.. u get the idea.. Soz if theres any errors. Aint checked it out

  3. #3
    Join Date
    Apr 2006
    Location
    UK
    Posts
    4,830
    Tokens
    0

    Latest Awards:

    Default

    Thanks il test it

    Need a domain but dont have paypal... not to worry. You can purchase a domain via text or home phone at XeoDomains.mobi.

    (X Moderator)
    AKA Cheekykarl

  4. #4
    Join Date
    Nov 2005
    Posts
    807
    Tokens
    1,335

    Latest Awards:

    Default

    Jacks code is wrong. Try this:
    PHP Code:
    $n 1;
    echo 
    "<table><tr>";
    while (
    FETCHRARESQUERY){
    $n $n++;
    if (
    $n == '4'){
    echo 
    "<tr></tr>";
    $n 1;
    }
    echo 
    "<td>RARE</td>"


  5. #5
    Join Date
    Apr 2006
    Location
    UK
    Posts
    4,830
    Tokens
    0

    Latest Awards:

    Default

    Do i put that in the functions.ici.php?

    Need a domain but dont have paypal... not to worry. You can purchase a domain via text or home phone at XeoDomains.mobi.

    (X Moderator)
    AKA Cheekykarl

  6. #6
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    no u put it on the page its displaying the values.. Im soz, mine was very wrong, i rushed it lol.. +rep for correcting me ;P

  7. #7
    Join Date
    Apr 2006
    Location
    UK
    Posts
    4,830
    Tokens
    0

    Latest Awards:

    Default

    +rep to both i will try it soon.

    Need a domain but dont have paypal... not to worry. You can purchase a domain via text or home phone at XeoDomains.mobi.

    (X Moderator)
    AKA Cheekykarl

  8. #8
    Join Date
    Jul 2007
    Location
    Swindon
    Posts
    990
    Tokens
    125

    Default

    Quote Originally Posted by Splinter View Post
    Jacks code is wrong. Try this:
    PHP Code:
    $n 1;
    echo 
    "<table><tr>";
    while (
    FETCHRARESQUERY){
    $n $n++;
    if (
    $n == '4'){
    echo 
    "<tr></tr>";
    $n 1;
    }
    echo 
    "<td>RARE</td>"

    But why would you need <tr><tr> both following each other tbh.

  9. #9
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Your right. It should be </tr></tr> as to make a new line

  10. #10
    Join Date
    Apr 2006
    Location
    UK
    Posts
    4,830
    Tokens
    0

    Latest Awards:

    Default


    Need a domain but dont have paypal... not to worry. You can purchase a domain via text or home phone at XeoDomains.mobi.

    (X Moderator)
    AKA Cheekykarl

Page 1 of 3 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
  •