Jump to content
MakeWebGames

Recommended Posts

Posted

i am trying to add attack logs sent in the event but when a user receives an event ,he doesnt have the correct attack logs but any random ones

 

<?php
include "globals.php";

if(!$_GET['ID'])
{
die ("Incorrect usage of file.");
}
$q=$db->query("SELECT * FROM attacklogs WHERE log_id={$_GET['ID']}");
$r=$db->fetch_row($q);
print "

[b]Time Executed:[/b] ".date('F j, Y, g:i:s a',$r['time'])."

{$r['attacklog']}

";

$h->endpage();
?> 

 

 

this is the event i am adding

event_add($r['userid'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] attacked you and lost.Go [url='attacklog.php?ID={$_GET[']here[/url] to view the details.",$c);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...