jeudi 31 août 2017

I have and array with multi-dimension i want to get the name of the array and the value of array

Problem in splitting array in PHP.

i need pradm_policy_risk_attr_details_motor_id => 20170825113749907

but in array only ex.

$array = [pradm_policy_risk_attr_details_motor_id => 20170825113749907,
column_11 => BP-2-B1534,
column_14 => Mahindra];

how can get plx...

This is my array

array:19 [
  "pradm_policy_risk_attr_details_motor_id" => array:1 [
    0 => "20170825113749907"
  ]
  "column_11" => array:1 [
    0 => "BP-2-B1534"
  ]
  "column_14" => array:1 [
    0 => "Mahindra"
  ]
  "column_15" => array:1 [
    0 => "Bolero-Camper 2WD (2523 cc)"
  ]
  "column_61" => array:1 [
    0 => ""
  ]
  "column_92" => array:1 [
    0 => "0.000000"
  ]
  "column_28" => array:1 [
    0 => "[SELECT]"
  ]
  "column_29" => array:1 [
    0 => "Closed"
  ]
  "column_30" => array:1 [
    0 => "0"
  ]
  "column_32" => array:1 [
    0 => "Owner Driver"
  ]
  "column_33" => array:1 [
    0 => ""
  ]
  "column_35" => array:1 [
    0 => "Excavator"
  ]
  "column_36" => array:1 [
    0 => ""
  ]
  "column_69" => array:1 [
    0 => ""
  ]
  "column_70" => array:1 [
    0 => ""
  ]
  "column_24" => array:1 [
    0 => ""
  ]
  "column_16" => array:1 [
    0 => "Select"
  ]
  "column_121" => array:1 [
    0 => ""
  ]
  "column_122" => array:1 [
    0 => ""
  ]
]

i took almost 3 days to solve this problem. please somebody help me.please expertise if you have solution or idea about this comment me with answer below i am in urgent. #from Bhutan....



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2gnR6KU
via IFTTT

Aucun commentaire:

Enregistrer un commentaire