[insert_php] $aDoor = $_POST[‘formDoor’];

$conn=mysql_connect(“localhost”,”el240366_us”,”MqRtgT?O~~^X”);
mysql_select_db(“el240366_db”,$conn);
mysql_query(“SET NAMES ‘utf8′”);

if(empty($aDoor))
{
echo ““;
}
else
{
$N = count($aDoor);
for($i=0; $i < $N; $i++) { //echo($aDoor[$i] . " "); $sql = "INSERT INTO `el240366_db`.`playlist` (`id`) VALUES ('".$aDoor[$i]."');"; mysql_query($sql,$conn); } } echo "“;

[/insert_php]