0
我有此PDO聲明,如何將結果設置爲另一個用途的變量。 IE瀏覽器。我需要PName,Player_price和Player_Points作爲PHP變量。有人請幫助我。將PDO聲明結果設置爲每個字段的變量
if ($stmt = $con->prepare("SELECT PName, Player_price, Player_points, Total_points FROM Keepers_points WHERE 'WeekNo'=? && 'PlayerNO'=?"))
{
$stmt->bind_param("dd", $Week_ID, $GK_2);
$stmt->execute();