Unread Pms For Lava Script

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

    Unread Pms For Lava Script

    UNREAD PMs [place this on the user profile in index.php]
    ======================
    Code:
      $noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid='".$who."' AND byuid='".$uid."'"));
      $nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid='".$who."' AND unread='1'"));
      echo "Unread PMs: [b]$nout[0][/b], [b]$noin[0][/b] from you
    ";
    ======================

    #2

    R.M.C
    ----------
    PHP Adovocate B)

    Comment


      #3
      UNREAD PMs [place this on the user profile in index.php]
      ======================
      Code:
        $noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid='".$who."' AND byuid='".$uid."'"));
        $nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid='".$who."' AND unread='1'"));
        echo "Unread PMs: [b]$nout[0][/b], [b]$noin[0][/b] from you
      ";
      ======================[/b]
      bro do u hve clear txt script or automatic refresh code i want to add it in online list

      Comment


        #4
        thank you bro. it works!

        WapCHAT Forum Currenltly changing over to xhtml

        My Dowloads Site

        Comment


          #5
          its not worked lol

          unread:0,44 from u
          wat is it

          Comment


            #6
            <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'> $noin = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid=&#39;".$who."&#39; AND byuid=&#39;".$uid."&#39;AND unread=&#39;1&#39;"));
            $nout = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_private WHERE touid=&#39;".$who."&#39; AND unread=&#39;1&#39;"));
            echo "Unread PM: $nout[0]
            From you $noin[0]
            ";</div>

            Missed AND unread=&#39;1&#39; in first line, Now works!

            Comment

            Working...
            X