Go back to index | Refresh

SQLite

PDO_Connect(): successsfully connected
The database file: ./sqlite-database.db

Create table and insert exampe data

table test already exists

Fetch data

PDO_FetchAll('SELECT * FROM test')
Array
(
    [0] => Array
        (
            [id] => 1
            [name] => Amelia
        )

    [1] => Array
        (
            [id] => 2
            [name] => Beatrice
        )

)