$filename, 'title' => $title, 'time' => filemtime($file), ]; } // sort newest first usort($posts, fn($a, $b) => $b['time'] <=> $a['time']); ?>
I have a SQLite database where I store games that I have played. This database contains title of the game, platform on which I have played or emulated the game, my grade and short description of what do I think of the game. Grading system works like this: 5 means mixed feelings, 1 worst games, 10 best games. Happy reading :3
| Game Name | Platform | Grade | Description |
|---|---|---|---|
| {$row['name']} | "; echo "{$row['platform']} | "; echo "{$row['grade']} | "; echo "{$row['description']} | "; echo "