这是我保存到var $ multi ...
的数组{
"multicast_id":6026270875633827713,
"success":2,
"failure":1,
}
这是我当前的实现无效......
$bony = "INSERT INTO log_notifications(sent_at,multicast_id,reg_id,message_id,success,failed)
VALUES(NOW(),
'$multi[multicast_id]',
'$each',
'$multi[multicast_id]',
'$multi[success]',
'$multi[failure]'
";
我似乎无法在db ...
中插入值答案 0 :(得分:0)
试试这个;)
$bony = "INSERT INTO log_notifications(sent_at,multicast_id,reg_id,message_id,success,failed)
VALUES(NOW(),
'$multi[multicast_id]',
'$each',
'$multi[multicast_id]',
'$multi[success]',
'$multi[failure]')";
您忘了关闭)
的<{1}};