【发布时间】:2016-02-28 11:14:08
【问题描述】:
如何保存此类数据?它给了我
Array to String conversion error.
我的asc201516s_teachers 表有以下列:
teachers_nameteachers_cnicteachers_gender-
teachers_contact。
我的数据数组是:
[asc201516s_teachers] => Array
(
[teachers_name] => Array
(
[0] => asd asd
[1] => asd asd asd
[2] => asd asd asd asd
)
[teachers_cnic] => Array
(
[0] => 32312-1212121-2
[1] => 33434-3434343-4
[2] => 34454-5454545-4
)
[teachers_gender] => Array
(
[0] => 1
[1] => 2
[2] => 2
)
[teachers_contact] => Array
(
[0] => 1234-5678910
[1] => 2345-6789101
[2] => 3456-7891011
)
)
【问题讨论】:
标签: cakephp orm cakephp-2.0 cakephp-2.x