Ok Heres what i came across in a book:
SELECT user_profile.username, images.user, images.id, images.FILE, user_profile.Name, user_profile.Sex, user_profile.Age, user_profile.Country, user_profile.whythink, images.showimage, user_profile.active
FROM user_profile, images
WHERE user_profile.username = images.user
This is very messy i know but its nearly doing what i need.
For testing i have two profiles in the table, and 4 images. 3 are with one, and one another.
With this statement im getting the information pulled i need, but with one small problem. Its displaying all images and users.
So im getting three images displayed for the one user when i need it to be only one!
i just need one image from each user but only if showimage is set to Y and the active for the profile is set to Y.
Bit messy at describing that one, but im still learning!!
Thanks,
Danny
Ps Using Dreamweaver for this!