$sql .= "INSERT INTO LOGcopy (CallName,CallStNo,CallStDir,CallStreet,CallIssue,CallMisc,CallPhone,status,date,dataentry, [key]) values
("; $sql .= "'".$values['CallName']."',
"; $sql .= "'".$values['CallStNo']."',
"; $sql .= "'".$values['CallStDir']."',
"; $sql .= "'".$values['CallStreet']."',
"; $sql .= "'".$values['CallIssue']."',
"; $sql .= "'".$values['CallMisc']."',
"; $sql .= "'".$values['CallPhone']."',
"; $sql .= "'".$values['status']."',
"; $sql .= "'".$values['date']."',
"; $sql .= "'".$values['dataentry']."',
"; $sql .= "".$keys['key'].""; $sql .= ")"; CustomQuery($sql);
return true;
此语法无法将值插入名为LOGCopy的其他表中,我找不到失败的语法。