how to add in modlog like which gallery pic is deleted just u get to see deleted comment?
this is deleted comment details
//////////////////////////////del comment
else if($action=="delcmt") { $id = $_GET["id"];
echo " ";
$res = mysql_query("DELETE FROM fun_galcomments WHERE id ='".$id."'"); if($res) { mysql_query("INSERT INTO ibwf_mlog SET action='comment', details='".getnick_uid(getuid_sid($sid))." Deleted a Photo Comment', actdt='".time()."'"); echo "<img src="images/ok.gif" alt="O"/>Comment deleted"; }else{ echo "<img src="images/notok.gif" alt="X"/>Database Error"; } echo "
";
echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; }
how to add onle for to know what the link of the image was when a user delete it?😕