I have a small problem :) I was searching the web but didn't find any solutions.
I have a value like this (got it from $_GET[])
tag1, tag2, tag3, tag4
and all I want to do is insert it into MySql (via PHP) like this:
+---------+-------------+ | id | tag | +---------+-------------+ | 33 | tag1 | | 33 | tag2 | | 33 | tag3 | | 33 | tag4 | +---------+-------------+
I found many articles about this on Stack Overflow but the biggest problem here is that I don't know how many values I'm gonna get each time (I did not find that answer).
I will appreciate any help I get.