WHERE privatemessage.userid='$user[userid]' AND privatemessage.fromuserid!='$user[userid]' ORDER BY dateline DESC");
WHERE privatemessage.userid='$user[userid]' ORDER BY dateline DESC");