Pm All Users Code

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Pm All Users Code

    Pm all users code...

    Code:
      $pmtou = $_POST["pmtou"];
      $byuid = getuid_sid($sid);
      $tm = time();
      $lastpm = mysql_fetch_array(mysql_query("SELECT MAX(timesent) FROM ibwf_private WHERE byuid='".$byuid."'"));
      echo "All users has been send a pm
    ";
      $pms = mysql_query("SELECT id, name FROM ibwf_users WHERE lastact>'".$tm24."'");
      $tm = time();
      while($pm=mysql_fetch_array($pms))
      {
      mysql_query("INSERT INTO ibwf_private SET text='[b]Public Anouncment:[/b][br/]".$pmtou."[br/][i]This message was sent to all the spiderwap members[/i]', byuid='".$byuid."', touid='".$pm[0]."', timesent='".$tm."'");
      }
    I won't be able to help anymore, you guys won't be able to rich me by email, im closed down

    Click here!!!

    #2
    why u closed

    Comment


      #3
      any1 can help me send inbox at logged at last 24 hours???
      and staff members??;)tnks
      if like my post click:

      http://coding-talk.com/images/totall...ost_thanks.gif

      Comment


        #4
        any1 can help me send inbox at logged at last 24 hours???
        and staff members??;)tnks[/b]
        as soon as we see link to your working site!

        else dont ask for help anymore as it's useless
        closed
        It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
        ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
        ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
        キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

        Comment

        Working...
        X