Hi,
the code:
works ok when the element userid is a user element; when the userid element is a databasejoin linked to the users table, this code doesn't work.
Could it be possible to amend this code in order to have the userid element as databasejoin linked to the users table?
Thanks,
Enzo
the code:
Code:
SELECT comment.id FROM comment LEFT JOIN friends ON comment.userid = friends.userid WHERE friends.friend_id = '{$my->id}'
Could it be possible to amend this code in order to have the userid element as databasejoin linked to the users table?
Thanks,
Enzo