$ids = ( "1,2,3,4,20") ;
$values =('11,12,13,14');
$stmt = $conn->prepare("UPDATE Crypto_price SET price=? WHERE id IN($ids)") ;
$stmt->execute(array($values)) ;
$row = $stmt->rowcount() ;
I want to update price table with the $values the ids work well.when I run my endpoint php file all ids updated to 11
any help?