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
$id=33; $tag=$_GET['tag']; $tag_Split= explode(",", $tag); $cnt=count($tag_Split); for($i=0;$i<$cnt;$i++) { mysql_query("insert into tag_table(id,tag) values ($id, $tag_Split[$i])"); }