PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a table name products and 3 column name p_id, p_weight and p_flavor so for example we have different flavor with same wight how can I retrieve non repeated weight but with all flavor under it.
I need something like this
2 lbs
orange
strawberry
5 lbs
orange
as you see in my above example there is repeated 2 kg with 2 different flavor but I do not want repeated weight I just one to display column weight and related flavor for example we have 5kg creatine with 3 kind of flavor.
5lbs
strawberry
orange
chocolate
I do not need to display for repeated weight for each flavor like below example: 5lbs
strawberry
5lbs
orange
5lbs
chocolate
charli18 wrote:why there is no expert in this forum?????????
There are plenty of experts here. It's only been 6 hours. Some of us have other things to do. Like our own work. If you post anything like that again I'll get annoyed.
charli18 wrote:why there is no expert in this forum?????????
There are plenty of experts here. It's only been 6 hours. Some of us have other things to do. Like our own work. If you post anything like that again I'll get annoyed.