How to turn associative array into separate variables? [closed]

If you mean to assign value to new variables, simply do it using the assignment operator = in PHP.

$title = $tag["title"];

$artist = $tag["artist"];

// ... and so on

Read more about assignment operator in PHP.

Leave a Comment