jorge
- jorge 回答了问题 php-exec 函数执行后需要关闭吗
你能发个图发点代码吗?看你的需求像是把数据导入mysql 用php?用dbms不是更合适吗
- jorge 2018-11-15 已签到连续签到2天,获得了10个金钱
- jorge 2018-11-14 已签到连续签到1天,获得了5个金钱
- jorge 赞了回答
一样是安全的
- jorge 赞了回答
点进去看看这个batchInsert()方法你就知道了,都是用的QueryBuilder,其实同出一辙,安全共存!
- jorge 赞了回答
$model_customer = new Customer(); $sender_id = $model_customer->addCustomer($this->sender, $this->s_tel, $this->s_city, $this->s_place, $this->s_city_code); $model_customer = new Customer(); //这样第一次的就不会被第二次的覆盖造成看上去只有第二次生效了 $receiver_id = $model_customer->addCustomer($this->receiver, $this->r_tel, $this->r_city, $this->r_place, $this->r_city_code);