Canman2005 Posted June 27, 2008 Share Posted June 27, 2008 Hi all I am doing the following query but it keeps returning null SELECT p.id, p.memberid FROM members_friends m LEFT JOIN members_photos_albums p ON m.friendid = p.memberid WHERE m.memberid = 11 Can anyone see why this might be? Thanks in advance Dave Link to comment https://forums.phpfreaks.com/topic/112117-solved-query-keeps-returning-null/ Share on other sites More sharing options...
bluejay002 Posted June 27, 2008 Share Posted June 27, 2008 maybe nothing really exists... if it did exist, can you post the sample table content. Link to comment https://forums.phpfreaks.com/topic/112117-solved-query-keeps-returning-null/#findComment-575723 Share on other sites More sharing options...
Canman2005 Posted June 27, 2008 Author Share Posted June 27, 2008 HAHA, yes im a plonker, the data didnt exist with the correct fields Thanks Link to comment https://forums.phpfreaks.com/topic/112117-solved-query-keeps-returning-null/#findComment-575855 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.