array("1"),array("1","1001"),array("1","1002")这样写是可以的, 但是我存入数据库的格式是["1"],["1","1001"],["1","1002"],是活参应该取数据库中的值 用["1"],["1","1001"],["1","1002"]测试,通过 REPLACE(REPLACE('["1"],["1","1001"],["1","1002"]',"[","array("),"]",")")替换出来展示是 array("1"),array("1","1001"),array("1","1002") 但是不生效 |