如何使用PHP变量读取sqlite3上的数据?

时间:2018-10-28 00:59:00

标签: pdo sqlite

$result = $vt->prepare('SELECT * FROM streamdetails WHERE idFile ='.$idFile.' AND iStreamType =0');
$result->execute();
foreach($result as $row)
    echo "Çözünürlük: ".$row['iVideoWidth'] . " x " .$row['iVideoHeight'] . "<br>";
}

怎么了?

$ idFile变量类型为文本,而idFile为streamdetails上的整数。

0 个答案:

没有答案