Last forum topics

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

    Last forum topics

    hi any1 can fixed this,what problem in my script i added latest forum topic then when sum1 posted in club then will show in last forum topics and can view the member although not a member of a club?thanks

    what code I needed and what sql need to set...thanks for response..

    #2
    re

    I think no 1 can helped me here..huhu

    Comment


      #3
      i cant see your code but something like this:
      $fid = mysql_fetch_array(mysql_query("SELECT fid FROM ibwf_topics WHERE id='".$tid."'"));//change $tid to you topic id string
      $club = mysql_fetch_array(mysql_query("SELECT clubid FROM ibwf_forums WHERE id='".$fid[0]."'"));
      if($club[0]>0){
      echo "Private post<br/>";
      }else{
      //normal stuff here
      }

      Comment

      Working...
      X