keeB Posted November 19, 2009 Share Posted November 19, 2009 I am working on a project which requires analysis and generation of a Cartesian Product for a list of Products which go together. Ideally, you'd be able to group the list of Product's by price range (low, mid, high.) Given this task, how would you accomplish it? I'll be happy to share snippets of my results as the post matures. Quote Link to comment https://forums.phpfreaks.com/topic/182180-what-is-the-best-way-to-implement-a-cartesian-product/ Share on other sites More sharing options...
Mchl Posted November 19, 2009 Share Posted November 19, 2009 If you have this data in database.. do a CROSS JOIN Quote Link to comment https://forums.phpfreaks.com/topic/182180-what-is-the-best-way-to-implement-a-cartesian-product/#findComment-961226 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.