在ecshop种文件include/cls_mysql.php 正常操作 例如: $sql = “UPDATE ecs_user SET user = ‘buxuan’ WHERE user_id = 1″; $db->query($sql); 用ecshop的autoExecute操作,只需要 $table = “ecs_user”; $field_values = array(“user” => “buxuan”); $db->autoExecute($table, $field_values, “UPDATE”, “user_id = 1″); // 执行的SQL: UPDATE ecs_user SET user = ‘buxuan’ WHERE user_id = 1 $table = “ecs_user”; $field_values = array(“user” => “buxuan”); $db->autoExecute($table, $field_values, 'INSERT', 'user_id = 1'); 很方便的一个函数, ecshop的批量处理- 貌似应该也是用的这个来处理的吧(责任编辑:最模板) |

Neoshop经济型外贸综合类
人气:360
食品食材模板|ecshop食品模
人气:552
shopex茶叶网模板
人气:1347
ecshop 批量购买插件
人气:1637
ecshop多属性库存二次开发
人气:4442
ecshop绿盒子模板|童装用品
人气:1488