This question already has an answer here:
I cannot figure out getting the string 'foo' printed from an array. How can I just print the value in 'tags'?
print_r(array_values($res));
Array
(
[0] => Array
(
[tags] => foo
)
)
</div>