petritr
8 months ago

Problem saving repeated array

Posted 8 months ago by petritr

With is the smartest way to save repeated array

array:3 [
  0 => array:5 [
    "port" => array:2 [
      0 => 1417
      1 => 1418
    ]
    "id" => array:2 [
      0 => 154
      1 => 152
    ]
    "name" => array:2 [
      0 => 1
      1 => 1
    ]
    "thing" => array:2 [
      0 => "23"
      1 => "20"
    ]
  ]
  1 => array:5 [
    "port" => array:1 [
      0 => 1425
    ]
    "id" => array:1 [
      0 => 155
    ]
    "name" => array:1 [
      0 => 1
    ]
    "thing" => array:1 [
      0 => "20"
    ]
  ]
...

Please sign in or create an account to participate in this conversation.