Hey,
I have this SQL on my page:
SELECT *
FROM ipals_members LEFT JOIN ipals_main_img ON ipals_members.m_id = ipals_main_img.m_id
WHERE m_age >= '$agefrom' AND m_age <= '$ageto'
GROUP BY ipals_members.m_id
and i have the users name, country, age and profile image displayed.
I have 2 members set up right now just for testing. Its showing the first member fine. Info and the image. BUT.
the next user is having their info shown, and the NO IMAGE in place of the photo as there hasnt been an image uploaded. But when you hover over the [View Profile] link. User A, has their user number show which will pull up all their info ect. But user B has an empty ?member_id
its getting all the info including the member_id if i add a photo. But thats not good for those who might not want to add a photo.
Any suggestions on how to correct this?
Thanks In Advance,
Danny