Submerged Posted December 23, 2006 Share Posted December 23, 2006 Hey, I was just wondering if there was a way to merge 2 mysql results into one, without just moving all the data to PHP arrays and doing it from there. Thanks!-Alex Quote Link to comment Share on other sites More sharing options...
artacus Posted December 23, 2006 Share Posted December 23, 2006 UNION - will allow you to run one query on top of another basically. They need to have the same number and types of columns.A subquery will allow you to run a query and use the results in another query. Quote Link to comment Share on other sites More sharing options...
Submerged Posted December 23, 2006 Author Share Posted December 23, 2006 One more quick question - I have union working, heres the example I'm working with. EDIT: Never mind, I found it :) Thanks for the help! 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.