Here is my prepared statement
$stmt = $db->prepare("UPDATE user SET :property=:value WHERE `id`=:id");
$stmt->execute([':property' => $property, ':value' => $value]);
$row = $stmt->fetchAll(PDO::FETCH_ASSOC);
How can I quickly verify that the query has gone through successfully?
I was thinking maybe an if() around the execute part?