操作数应包含 1 列
我的代码有什么问题,这意味着我尝试通过选择插入到活动笔记表中
<?php
require_once('Connections/Thaymay.php');
mysql_select_db($database_Thaymay, $Thaymay);
$activityid = $_POST['select'];
if($_POST) {
foreach($_POST['namebox'] as $check) {
echo "$check \n ";
echo "<br> ";
$query_ReSeActi = " INSERT INTO `ph3`.`activitynote` ( `idmemberref`, `idactivity`, `manaferid`, `staffinput`) select (
idmemberref, $activityid, manaferid, 'system' ) from activitynote where id = $check ; ";
$RsActivitynoteMem = mysql_query($query_ReSeActi, $Thaymay) or die(mysql_error());
}
}
?>