|All requests||>||What is the best PHP pdo mysql class?||>||Request new recommendation||>||Featured requests||>||No recommendations|
by gautam - 11 months ago (2022-10-09)
I want to create a PHP MySQL project and use a PDO connection class.
This package is a simple CRUD application. Advantage: easy customizable via callbacks.
In this package, the file "common_PDO.php" is a function library (not a class) to access DB using PDO.
Advantage: contains some utilities to access data ( e.g. sqlValue() sqlArray(), etc.) or to get HTML fragments (sqlLookup(), checkList(), etc).
I use it in all my DB-PHP-HTML programs.
hoping it helps someone m.s.
Simple to use and simple to configure. Recommended for simple application. Its based on PDO class configuration and support transaction, with a method that help you to convert to innodb engine to support transactions.
External URLs are not allowed in recommendations, i will try to cheat it : Search web for "phporacle" to see newer code here : https: github.com slavkoss fwphp tree master vendor b12php Db_allsites.php
Example to use Db_allsites.php (< 500 lines) is : ...tree master fwphp glomodul adrs (most simple) or blog example : ...tree master fwphp glomodul blog - seems complicated but is not.
Although it is not elaborated enough, it gives a clear idea of what, in my opinion, the use of the PHP crud framework should look like. (Framework is for me code skeleton, code snippets for copy, paste).
PDO itself is already a class. Anyway, try this package if you want a course that helps you to configure the connection to a MySQL server.