id | tags
1 | tag1,tag2,tag3
2 | tag1,tag2,tag3
In the db there is the column "tags" where it is "tag1, tag2, tag3 ..." I need to show all the separated tags, however it only shows the one of the first record, I would like to get everyone tags, how do I?
$tags = explode(',', $tags_row);
foreach ($tags as $item) {
echo "< href='#'>$item</a> ";
}