我正在尝试使用我从数据库中检索到的数据创建一个倒数计时器并减去当前时间,但它会依赖于ID并相应地显示,这是我到目前为止的PHP但是怎么会我实现了吗?
<?php
ini_set('display_errors', 1);
// connection and query logic
require('includes/conn.inc.php');
$queryBands = "SELECT * FROM Bands WHERE bandID = :bandID";
$queryperform = $row->performance;
$performance = "SELECT performance FROM Bands WHERE bandID = :bandID";
$stmt = $pdo->prepare($queryBands);
$stmt->bindParam('bandID', $_GET['id'], PDO::PARAM_INT);
$stmt->execute();
$row =$stmt->fetchObject();
?>