Ben dizi döndü var
$header_html = array(1=>array('width'=>40,
'sort_case'=>23,
'title'=>'AxA'),
2=>array('width'=>50,
'sort_case'=>7,
'title'=>'B2B'),
3=>array('width'=>100,
'sort_case'=>12,
'title'=>'C12')
);
Ben $ header_array = array ('AxA', 'B2B', 'C12') bağlı yeni bir dizi almak istiyorum
örnekler:
if have $header_array=array('C12','B2B','AxA').
Yeni $ header_html olacak:
$header_html = array(
1=>array('width'=>100,
'sort_case'=>12,
'title'=>'C12'),
2=>array('width'=>50,
'sort_case'=>7,
'title'=>'B2B'),
3=>array('width'=>40,
'sort_case'=>23,
'title'=>'AxA')
);
ve böylece ...
Herkes bunu nasıl biliyor?