How to convert array to SimpleXML

a short one: results in keys and values are swapped – you could fix that with array_flip() before the array_walk. array_walk_recursive requires PHP 5. you could use array_walk instead, but you won’t get ‘stack’ => ‘overflow’ in the xml then.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)