去除最后的逗号
substr_replace($update_sql ,"",-1);
去除最后的and
substr_replace($update_sql ,"",-3);

相关文章:

  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-01-02
相关资源
相似解决方案