mardi 8 décembre 2020

PHP - Create multiple arrays from 3 available arrays [closed]

I have 3 arrays of data:

$size = ['s','m','x'];
$color = ['white','red','black'];
$style = ['AA','CC'];

I want to create many new arrays out of this data:

['s','white','AA'],['s','white','CC'],['s','red','AA'],['s','red','CC']

I look forward to your help ...




Aucun commentaire:

Enregistrer un commentaire