PHP version: 5.5.38

Simple example of PHP/SQLite code

by Philip Kearns

Minimal code which creates a SQLite database, collects data and displays it. Follow this link to find the code and a detailed explanation.

3.1
176588 (176588): (176588)

Each time this script runs it deletes all but the 5 most recent entries, this is to stop this sample database growing indefinitely.

Here are the contents of the database (if any):
1. Lucinda Bolts
2. Marsha de Penguins