PHP操作mysql表并组合数组 50
要求得到的数组是这样的格式Array([0]=>Array([name]=>王[signed]=>Array([0]=>Array([signedtime]=>14630...
要求得到的数组是这样的格式Array([0] => Array( [name] => 王[signed] => Array([0] => Array([signedtime] => 1463056411[typeid] => 1)[1] => Array([signedtime] => 1463076411[tipeid] => 3)[2] => Array([signedtime] => [tipeid] => 4)))[1] => Array([name] => zhang[signed] => Array([0] => Array([signedtime] => [typeid] => 1)[1] => Array([signedtime] => [tipeid] => 3[0] => Array([signedtime] => 1463036411[typeid] => 4))))
数组中空值也要保留,这是必须要保留的,怎么用for循环把数组组建出来 展开
数组中空值也要保留,这是必须要保留的,怎么用for循环把数组组建出来 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询