Hi,
Erster Sql Statement:
select skadate_members.member_id, skadate_members.username, skadate_members.lastvisit, cometchat_status.message, cometchat_status.status from skadate_friends join skadate_members on skadate_friends.friend_id = skadate_members.member_id left join cometchat_status on skadate_members.member_id = cometchat_status.userid where skadate_friends.pending = 0 and skadate_friends.member_id = 1 order by username asc
Zweites Sql Statement:
select skadate_members.member_id, skadate_members.username, skadate_members.lastvisit, cometchat_status.message, cometchat_status.status from skadate_friends join skadate_members on skadate_friends.member_id = skadate_members.member_id left join cometchat_status on skadate_members.member_id = cometchat_status.userid where skadate_friends.pending = 0 and skadate_friends.friend_id = 1 order by username asc
also ich müsste aus diesen 2 statements 1 machen keine Ahnung wie kann mir da jmd. helfen