【发布时间】:2015-02-21 07:20:33
【问题描述】:
我有一个产品销售表(对步入式客户的销售)。表格行值,如
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
现在我想显示并删除逗号(,)
$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
那么如何使用 where 子句从表中获取值。
【问题讨论】:
-
[请看这个问题已经解决][1] [1]: stackoverflow.com/questions/28643017/…
-
好的,谢谢 Anil baweja