Reputation: 28
I have two array within a array.How to seperate the array into 2 different array in where color and size array will be in two differnt array .
Upvotes: 0
Views: 65
Reputation: 22693
If I understand your question correctly:
$table2 = $parameters->get('color');
$table3 = $parameters->get('rank');
$parameters->remove('color');
$parameters->remove('rank');
$table1 = $parameters->all();
Upvotes: 1