dagon;10933326 wrote:the code looks insane to me, what are you actully trying to achieve?
Create a number of arrays (in this case: "shape","quality","size","lengthOptions")
Then, while looping through the result set of a query, keys of the result set
will also be "shape","quality","size","lengthOptions" , assign those values to the array of the same name.
$shape[]=result_row[shape];
$quality[]=result_row[quality];
etc..