Ravi_53 0 Newbie Poster

I have One Problem in my coding ..I want to upload multiple images in the database in one row with using comma ...
for($i=0;$i<count($_FILES['eventpic']['name']);$i++)

$pic = $_FILES['eventpic']['name'][$i];
$tmp =$_FILES['eventpic']['tmp_name'][$i];
$location="pics/".$pic;
move_uploaded_file($tmp,$location);
$q="insert into tbl1(title,tdate,eventpic)values('','','$pic')";
echo $q;
through this code i can upload tthe multiple images but not in a single row ....