Let's say I have several arrays:
$array1 = array( 'a','b','c');
$array2 = array( '1','2','3');
$array3 = array( '+','-');
As a result I'd like to have a array of all possible mixes of those arrays:
$result = array( 'a1+','a1-','a2+','a2-','b1+','b1-','b2+'...
SQL provides such operation in case of the following request:
SELECT * FROM `letters`,`digits`,`operations`
Ho can I do this in PHP?