Chat post showing from revers orde(lavalariar help)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ponick
    replied
    Originally posted by Vayne View Post
    $sql = mysql_fetch_array(mysql_query("SELECT msg, user, id FROM chatmsg WHERE uid='".$changable."' ORDER BY id DESC LIMIT 2, 10"));


    or smth...
    thank you thank you thank you thank you thank you sooo much mwaaah Vayne n comando

    Leave a comment:


  • Vayne
    replied
    $sql = mysql_fetch_array(mysql_query("SELECT msg, user, id FROM chatmsg WHERE uid='".$changable."' ORDER BY id DESC LIMIT 2, 10"));


    or smth...
    Last edited by Vayne; 13.01.10, 14:00. Reason: laming.. as always.

    Leave a comment:


  • Ponick
    replied
    Originally posted by comando View Post
    make a select with limit 2 to 10
    select message from room order by timesent desc limit 2 ,10
    with mysql?? but im very wk in sql

    do me a favr please........ create dis code

    Leave a comment:


  • comando
    replied
    make a select with limit 2 to 10
    select message from room order by timesent desc limit 2 ,10

    Leave a comment:


  • Ponick
    replied
    Its showing only 1 post in room

    i want to show 2nd post to 10 post . 1st post will be not shown . Please help

    Leave a comment:


  • strikingv
    replied
    Originally posted by Ponick View Post
    Hi every one,
    in chat room we can fix the limit of chat post by changing
    $counter=0; or if($counter<20) to our needed amount like if we change it to if($counter<10) then it will show 1-10 post in room.
    But now if i don't want to show first post.I want to show like 2-10 post in room and first post is be hidden.
    Then what to do ? Please somebody help
    if($counter<10 && $counter!=1)

    Leave a comment:


  • Chat post showing from revers orde(lavalariar help)

    Hi every one,
    in chat room we can fix the limit of chat post by changing
    $counter=0; or if($counter<20) to our needed amount like if we change it to if($counter<10) then it will show 1-10 post in room.
    But now if i don't want to show first post.I want to show like 2-10 post in room and first post is be hidden.
    Then what to do ? Please somebody help
Working...
X