my Table looks like this
id make client price cart
1 bmw day 500 5
2 gt3 mr king 450 9
3 gt3 mrs johan 600 9
4 bmw mr emir 350 2
5 golf ohar 150 5
6 golf mr smith 850 6
7 bmw mr smith 451 7
8 ford mr mary 495 8
what im looking to print
id make client price cart
5 golf ohar 150 5
4 bmw mr emir 350 2
2 gt3 mr king 450 9
8 ford mr mary 495 8
i am trying to make a search result table where it fetches the row with the lowest PRICED value of car, and then keeps the same MAKE car rows hidden in the expand and collapse format. So it only shows the hidden rows when I click the plus icon to expand the hidden rows and hides when i click the minus icon. However i have tried and cant find any success to group the MAKE of cars and only show the row with lowest PRICE for the make of car.
please some can give code or forward the links, please help