I have a product sales table(sales to walk-in customers). table row value like
invoice_no customer_name product_name item_code rate total etc..
001 abcd jasmine,rose,marigold JS001,R001,MG001 5,6,3
002 xyz jasmine,rose,marigold JS001,R001,MG001 5,6,3
Now i want to display and comma(,) to be removed
$query="select * from product_sales where invoice_no='".$invoice_no."' ";
Customer Name:abcd
s.no product_name item_code rate
1 jasmine JS001 5
2 rose R001 6
3 marigold MG001 3
So how can I fetch vaulues from table using where clause.