donatastommy Posted October 27, 2013 Share Posted October 27, 2013 $array1=["joe","bob"]; $array2=["tom","bill"]; $array3=["dan","mary"]; I want to print out every combination.. like (joe,tom,dan),( joe,tom,mary), only picking 1 from each array for each combination. and so on until there are no more combinations. After this i want to post them onto 3 post forms on my website.. I know how to do that but I am stuck on this combination part. Hard to explain.. hope you have understood.. Quote Link to comment https://forums.phpfreaks.com/topic/283351-php-combinations/ 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.