per PDO, la risposta sarà
$query="insert ignore into ...;";
$statement=$link->prepare($query);
$statement->execute();
if($statement->rowCount()==1){
//insert confirmed;
}else{
//ignore confirmed;
}
per PDO, la risposta sarà
$query="insert ignore into ...;";
$statement=$link->prepare($query);
$statement->execute();
if($statement->rowCount()==1){
//insert confirmed;
}else{
//ignore confirmed;
}