https://github.com/farisc0de/pdowrapper
Simple PHP PDO wrapper to handle MySQL databases easily
https://github.com/farisc0de/pdowrapper
database mysql mysql-database pdo pdo-php pdo-wrapper php php-database php-library php-pdo-wrapper php7
Last synced: 3 months ago
JSON representation
Simple PHP PDO wrapper to handle MySQL databases easily
- Host: GitHub
- URL: https://github.com/farisc0de/pdowrapper
- Owner: farisc0de
- License: mit
- Created: 2021-02-17T20:20:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-16T15:17:20.000Z (almost 4 years ago)
- Last Synced: 2024-12-31T07:42:44.134Z (about 1 year ago)
- Topics: database, mysql, mysql-database, pdo, pdo-php, pdo-wrapper, php, php-database, php-library, php-pdo-wrapper, php7
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDOWrapper
Simple PHP PDO wrapper to handle MySQL databases easily
## How to use
Update config.php with you database info
Then use this simple code snippet as a guide
```php
query("SELECT * FROM users WHERE username = :username");
$db->bind(":username", "admin");
$db->execute();
print_r($db->single());
```