I have an array of id's in a cookie.
When I print the cookie array it prints like this: 
["39","580"]. I need to access id 39 and 580.
I have tried everything I need to use this in a query like this:
    $queryordenar = $db->prepare("SELECT id FROM property 
    WHERE id IN (:list) ORDER BY price ASC");
    $queryordenar->execute(array(
    'list' => $array
     ));
Thanks
 
    