zaster
4 months ago

Array Issue

Posted 4 months ago by zaster

I have two arrays - These values are taken as a result of a form submission

    "subjob_id" => array:2 [▼
        0 => "3"
        1 => "4"
      ]
      "dispatch_qty" => array:2 [▼
        0 => "22"
        1 => "33"
      ]

What i want is to achieve a result like below mentioned

3=>"22"
4=>"33"

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