I am developing point of sale in php.I have two different sales . I sold 4 mobiles in first sale and sold 2 mobiles in second sale.The following query prints 2 items on receipt.But i want to display only one item(mobile) with quantity 6??I am developing point of sale in php.I have two