badsey |
|
---|---|
Hi all,
I need some help, I want to put it so when a user has a new message they can see the title and who it is from without going to the pm.php page. i tried to code it myself and nothing happened, if (!$cfg['pm_view']) { if ($usr['viewpm']) { $sqlpm = sed_sql_query("SELECT (*) FROM $db_pm ORDER BY `sed_pm`.`pm_id` DESC, `$db_pm`.`pm_title` DESC, `$db_pm`.`pm_fromuser` DESC"); $usr['viewmessages'] = sed_sql_result($sqlpm,0,''); } $out['pmmessageview'] .= ($usr['viewmessages']>0); } coding php is my weakes point, so any help would be brilliant ![]() |