it seems like that this part doesn't work well... it doesn't write whatever is within the array..
PHP Code:
$stringTemp = '
<track>
<title>'.$title[0].'</title>
<creator>'.$artist[0].'</creator>
<location>'.$location[0].'</location>
<image>'.$image[0].'</image>
</track>
';
have no idea why...