Unless your table is setup with infinite columns for image names, you can't.
You will have to insert them row by row. If you really only want to run ONE query, then you can concat several INSERT queries together, delimited by semicolon ';', and run it.
i.e.
$sql = "INSERT INTO table (title) VALUES ('Smurfs');";
$sql .= "INSERT INTO table (title) VALUES ('Goonies');";
$sql .= "INSERT INTO table (title) VALUES ('Inuyasha');";
mysql_query($sql);
Your best bet would be to execute the insert query in the foreach statement though. You will have multiple queries, but I think it would be easier than trying to mesh them all into one big query.