корзина

Comparing two arrays in PHP

I make an online store of contact lenses. Stuck on the implementation of the function of adding an item to the cart with DIFF ... le='width: 50%;float:left;'>"; echo '<b>На выходе</b><br>'; print_r($prodsInCart); echo '</div>';