https://github.com/damir-sijakovic/sqlite3_php_pdo_examples
Examples on how to use Sqlite3 DB with PHP PDO.
https://github.com/damir-sijakovic/sqlite3_php_pdo_examples
example examples pdo php sqlite3
Last synced: 10 months ago
JSON representation
Examples on how to use Sqlite3 DB with PHP PDO.
- Host: GitHub
- URL: https://github.com/damir-sijakovic/sqlite3_php_pdo_examples
- Owner: damir-sijakovic
- Created: 2021-05-04T08:50:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-04T08:54:28.000Z (over 4 years ago)
- Last Synced: 2025-01-30T05:43:02.031Z (12 months ago)
- Topics: example, examples, pdo, php, sqlite3
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Sqlite3 PHP PDO examples
Examples on how to use Sqlite3 DB with PHP PDO.
What is covered:
* init database
* insert
* update
* delete
* search (like, equal)
* get last record id
* get all records
* count records
### Usage
Run in terminal:
php -S localhost:8080
firefox localhost:8080
Edit/un-comment functions in 'index.php'.
You can monitor changes in created .db file with: https://sqlitebrowser.org/
### Licence
MIT
### Have fun