标签:
foreach ($_POST as $key => $value){ $array[] = "add ".$key." varchar(220),"; } $string=rtrim(implode(" ",$array), ","); $sql="alter table fengxianxiangmu.weize_fengxian_qysb ".$string.""; echo $sql;
标签:
原文地址:http://www.cnblogs.com/hellowzd/p/5019774.html