Jump to content

Monkuar

Members
  • Posts

    987
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Monkuar

  1. look:

     

    $result = mysql_query("SELECT donorlevel, id, name, desktop FROM ibf_members  ORDER BY donorlevel DESC LIMIT 5;")

     

     

    and my html code is:

     

     

    $id = "<a href='forums/index.php?showuser={$row['id']}'>{$row['name']}$lol</a>";

     

     

    ok so i need a php code that does 1) 2) 3) 4) for each LIMIT XX I DO, and put's it next to the $id,

     

    thx

     

  2. Please explain to me in dummy proof sentances because im french and also noob, but  i am smart ^_^

     

    if($counter++ >1)

    {

    $buddylist .="<br> ";

    $counter=1;

    }

    else {$buddylist .= "";}

     

    what's the if $counter++ ?? WTF IS THE TWO Pluces represent? lol and  > is greater then 1 then do $buddylist?

     

     

    Thanks for your help PHPFREAKS! <3

  3. Ok, I am software engineer out of france :) I'm not good at english, but I know what's up ^_^

     

    I use ipb 1.3 (I love this forum software trust me I like it)

     

    But my question is, I want users to have top XX Friends display on there profile,

     

     

    this is the code,

     

    $DB->query("SELECT contact_id,contact_name,contact_desc FROM ibf_contacts WHERE allow_msg=1 and member_id='".$member['id']."' LIMIT 6");

     

     

    And then I display it on my profile but I want it show the top 6 Friends a USER chooses from there USERCP :) (I alrdy have it so users can add people to there list I just need to code it so they can choose who's on there top friends and put them in top 6 order from there liking)

     

    I know anything is possible with php but I dont know this language and would like somone to help me, I have msn or aim and I use this forum! :)

     

     

    PLease, Thanks!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.