this is my array:
$array = array(
'name' => $burcname . ' Günlük yorumum',
'link' => 'http://apps.facebook.com/gunlukburcpaylas/sonuc.php?burc='. $burc,
'description' => $burcname . ' Günlük yorumu. Sizde her gün profilinizde günlük burç yorumunuz için uygulamaya katılın..',
'message' => $aciklama,
'picture' => $picture
);
iconv as: $example = iconv('UTF-8','ISO-8859-9',$array);
But this is array. and dont work. What can i do?
You will need to iterate the array contents, or use a function like
array_walk.Foreach loop (untested)
The reason you need to use
array_keysin this example is because a standardforeachloop withforeach($array as $key => $value)orforeach($array as $value)modifications made to$valueare not preserved.Using
array_walk(untested)If you are using PHP > 5.3 then you can use a lambda function instead.