{"id":20834483,"url":"https://github.com/komputronika/simpledb","last_synced_at":"2026-04-29T05:34:01.685Z","repository":{"id":217835910,"uuid":"66244754","full_name":"komputronika/SimpleDB","owner":"komputronika","description":"Simple MySQLi wrapper to handle common database queries and operations.","archived":false,"fork":false,"pushed_at":"2019-09-05T03:48:57.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T14:10:58.605Z","etag":null,"topics":["library","mysql","mysqli","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/komputronika.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-22T06:13:57.000Z","updated_at":"2019-09-05T03:48:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"86565dbe-0c34-4daa-aed1-0b394756144f","html_url":"https://github.com/komputronika/SimpleDB","commit_stats":null,"previous_names":["komputronika/simpledb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/komputronika/SimpleDB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komputronika%2FSimpleDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komputronika%2FSimpleDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komputronika%2FSimpleDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komputronika%2FSimpleDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/komputronika","download_url":"https://codeload.github.com/komputronika/SimpleDB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komputronika%2FSimpleDB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32412890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T05:20:56.964Z","status":"ssl_error","status_checked_at":"2026-04-29T05:19:54.749Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library","mysql","mysqli","php"],"created_at":"2024-11-18T00:19:25.796Z","updated_at":"2026-04-29T05:34:01.643Z","avatar_url":"https://github.com/komputronika.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleDB #\n\nSimpleDB is MySQLi wrapper to handle common database queries and operations.\n\n**Include file:**\n```php\n\u003c?php\nrequire(\"mysqlidb.php\");\n\n//...\n```\n\n**Connect to database:**\n```php\ndb_connect(\"localhost\",\"user\",\"pass\",\"student\");\n```\n\n**Get records example:**\n```php\n$q = db_query(\"select * from students\");\nwhile ($d = db_fetch($q)) {\n    print \"$d-\u003eid, $d-\u003ename \u003cbr /\u003e\";\n}\n```\n\n**Insert example:**\n```php\n$a = array();\n$a['name'] = db_filter($_POST[\"name\"]);\n$a['age']  = db_filter($_POST[\"age\"]);\n\ndb_insert(\"student\", $a);\n```\n\n**Update example:**\n```php\n$a = array();\n$a['name'] = \"John Doe\";\n$a['age']  = 21;\n\ndb_update(\"student\", $a, \"id=10\");\n```\n\n**Delete example:**\n```php\ndb_delete(\"student\", \"id=5\");\n```\n\n**Get last insert id:**\n```php\n//...\ndb_insert(\"student\", $a);\n$last_id = db_last_id();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomputronika%2Fsimpledb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkomputronika%2Fsimpledb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomputronika%2Fsimpledb/lists"}