chomedey Posted March 16, 2010 Share Posted March 16, 2010 Is it possible to do a select on one table to get an array .. then take that array and do a select on another table to further limit the array ... and then do something with the final set of values Do I need a join for that? Cheers. Julian Link to comment https://forums.phpfreaks.com/topic/195493-working-with-arrays/ Share on other sites More sharing options...
AdRock Posted March 16, 2010 Share Posted March 16, 2010 You could do a select in brackets as a field select field1, field2, field3, (select field1 from table2) as field 4 from table1 Link to comment https://forums.phpfreaks.com/topic/195493-working-with-arrays/#findComment-1027362 Share on other sites More sharing options...
chomedey Posted March 17, 2010 Author Share Posted March 17, 2010 Thanks - had no idea you could do that. I'll give it a go. Cheers. Julian Link to comment https://forums.phpfreaks.com/topic/195493-working-with-arrays/#findComment-1027404 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.