I created a database with one table using SQLite. However, I am trying to get the data using PHP code but it doesn't work. Any help?
My code:
if ($pdo == null) {
$pdo = new PDO('sqlite:/db/attendance');
}
$result = $myPDO->query("SELECT * from Student");

var_dump($result)give you?