要重复的数组

时间:2017-09-06 02:55:12

标签: php arrays

$a = array(
array(
    "name" => "jack",
    "data" => "123",
    "link_uid" => "1",
),
array(
    "name" => "jack",
    "data" => "134",
    "link_uid" => "2",
),
array(
    "name" => "tom",
    "data" => "567",
    "link_uid" => "3",
),
array(
    "name" => "tom",
    "data" => "098",
    "link_uid" => "4",
)
);

$a = array(
array(
    "name" => "jack",
    "data" => "123",
    "link_uid" => "1",
),
array(
    "name" => " ",
    "data" => "134",
    "link_uid" => "2",
),
array(
    "name" => "tom",
    "data" => "567",
    "link_uid" => "3",
),
array(
    "name" => " ",
    "data" => "098",
    "link_uid" => "4",
)
);

1 个答案:

答案 0 :(得分:0)

您是否只想重复名称空白

.col

现场演示:https://eval.in/855975