你好,你能给我这个正确的代码吗...
$split_getCreatedfield = explode(",", "3,1,2");
$fieldsWithValue = explode("~","1->Samuel Pulta~2->21~3->Male~");
for($row=0;$row<count(fieldsWithValue);$row++){
$data = explode("->", $fieldsWithValue[$row]);
}
我想要这样的输出
3 = 3 = Male
2 = 2 = 21
1 = 1 = Samuel Pulta