$current_account_url='<a class="mini-button" iconcls="icon-edit"
onclick="printabc('html/达能益力贸易(深圳)有限公司-[101]广东
2016-04-01-2016-04-30对账单.html')">查看/打印1</a>';
要怎么才可以把它插入表中的字段里呢?搞了好久都没办法。。谢谢了
$sql_url="update tools_current_account set current_account_url='$current_account_url' where Current_unit='$current_unit' and status=1 AND starttime='$starttime' and endtime='$endtime'";
我看你的
SQL
就有问题啊!变量你用单引号引用能把变量的值插入到数据库中吗?