Feky Posted August 21, 2009 Posted August 21, 2009 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); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.