this is part of genproc.php on wapdesire
the trouble is ..the automated pm gos on database but
it don't show on inbox of user (appears alert of 1 new message ,but
nothing inside..ghost inbox
)
i don't find the error
Code:
if($res) { $usts = mysql_fetch_array(mysql_query("SELECT posts, plusses FROM ibwf_users WHERE id='".$uid."'")); $res2 = mysql_fetch_array(mysql_query("SELECT name, authorid FROM ibwf_topics WHERE id='".$tid."'")); $usr = getnick_uid($uid); $tname = htmlspecialchars($res2[0]); if(($res2[1]!=$uid)&&(automsgs($res2[1]))){ $msg = "Your Topic [topic=$tid]$tname"."[/topic] has been Replied to by $usr [br/][small][i]p.s: this is an automated pm[/i][/small]"; autopm($msg, $res2[1]); }
it don't show on inbox of user (appears alert of 1 new message ,but
nothing inside..ghost inbox

i don't find the error

Comment