I previously had the following sql statement
SELECT * FROM tbl_folder WHERE folder_fix='1' ORDER BY folder_title
but decided to change it to the following so as to pull information from a related table
SELECT * FROM tbl_folder LEFT JOIN tbl_folderimage ON tbl_folder.folder_id = tbl_folderimage.folder_id LEFT JOIN tbl_image ON tbl_folderimage.image_id = tbl_image.image_id WHERE tbl_folder.folder_fix='0' GROUP BY tbl_folder.folder_id ORDER BY folder_title
it works great pulling the correct information from the tables but for some reason its not outputing the folder_id in my results where an entry in the joined tbl_folderimage is not present, it does output other fields from this table. is this because im using the folder_id to make the join?
what am i doing wrong
thanks