johnsmith153 Posted October 22, 2010 Share Posted October 22, 2010 SELECT field, (array of values from table 2) FROM $table1 t1 LEFT JOIN $table2 ON t1.id=t2.id ... is something like this possible? (where I return records from t1 in a LEFT JOIN, but also get an array of any of the fields/records from the table 2) Quote Link to comment Share on other sites More sharing options...
johnsmith153 Posted October 22, 2010 Author Share Posted October 22, 2010 Any idea? I have been searching Google and asking on other forums, but no luck. Maybe it can't be done. Quote Link to comment Share on other sites More sharing options...
johnsmith153 Posted October 22, 2010 Author Share Posted October 22, 2010 If it's impossible, please just say and I'll give in. Thanks. Quote Link to comment Share on other sites More sharing options...
johnsmith153 Posted October 22, 2010 Author Share Posted October 22, 2010 http://www.sitepoint.com/forums/showthread.php?p=4722454#post4722454 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.