mysql retrieval using php and checkboxes

With the code below I have the plant information printing out first and then all of the availability printing out last. Is there any way I can get both printing together, but not have duplicate pictures and information for the numerous sizes that sometimes list per plant. Ex. Buxus Green Velvet may have quantities for 3 gallon, 5 gallon, 24-30 inch, etc. I do not need the plant info and pictures printing out for each of these sizes. I just want the size and availability listed together under the ONE picture and info. Thanks for any assistance you can provide me.

Sorry, if it looks bad. I'm a beginner and have had much help on this from your message board as well as others. It may be a mess, but it is working and doing what I need except for what I have stated above. Any help at would be greatly appreciated. And the reason for associative arrays is because it was recommended to me by someone more knowledgeable than I on php.

OHMYGOD YOU DID IT!! You seriously did it!! It is now listing out exactly the way I have wanted it to list for months! I cannot thank you enough for helping me with this. I'm new and have struggled for a very long time with this. You are truly a kind and brilliant man. Thank you very much!