Replace
$list_per[$item] = $nama;
With
$list_per[$nama['id_perusahaan']] = $nama['name_perusahaan'];
0
solved How to change this array key based on this mysql result
Replace
$list_per[$item] = $nama;
With
$list_per[$nama['id_perusahaan']] = $nama['name_perusahaan'];
0
solved How to change this array key based on this mysql result