注册reg_new.php和edit_fullinfo.php里添加
else if ($fieldinfo[1] == 'checkbox')
else if ($fieldinfo[1] == 'checkbox')
{
foreach($_POST[$fieldinfo[0]] as $va)
{
$str=$str.$va.",";
}
$result=substr($str,0,strlen($str)-1);
${$fieldinfo[0]}= $result;
}
如果本文对你有帮助,欢迎打赏本站