$t1='SC001'; $price = array( $t1 => array ('retail' => $retail) );
I want to change $retail to be array to store more than one value
$t1='SC001'; $price = array( $t1 => array ('retail' => array ($var1,$var2..........)) );
My question is I don't know how many variable($var1 , $var2...) need to input to array, So need to use for loop to check
If $var is not null Then input to array.
But how to write this code?