Need to remove a lot of records. It works:
$db->exec("DELETE from link WHERE link_id IN (35, 40, 50)");
$ercode=$db->errorCode();
How can I get the number from the string or array? It code removes only the first number (19)
$string = "19, 20";
$count=$db->prepare("delete from link where item=:myid");
$count->bindParam(":myid", $string, PDO::PARAM_INT);
$count->execute();