首页 > 解决方案 > 如何使用 php 变量读取 sqlite3 上的数据?

问题描述

$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 上是整数。

标签: pdosqlite

解决方案


推荐阅读