$stmt = $pdo->prepare("SELECT full_name as fullName FROM accounts WHERE id = :id");
$stmt->bindParam(':id', $id, PDO::PARAM_INT);
if ($stmt->execute()) {
$results = $stmt->fetch();
$counts = $stmt->rowCount();
if ($results) {
$data = $results;
}
}
SELECT full_name as "fullName" FROM ....