Skip to content

Here we have my example of Create Read Update Delete OOP PDO class. I use dependency injection.

Notifications You must be signed in to change notification settings

mar1n/PHP-OOP-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-OOP-CRUD

Here we have my example of Create Read Update Delete OOP PDO class. I use dependency injection.

In index.php there is few line of code:

//$crud->insert([['Szymon', 'Tyrul'], ['Adam', 'Ryszard']]);

//$crud->update(["Max" => "Ryszard"]);

//$crud->remove([2, 3]);

var_dump($crud->read("SELECT * from books"));

About

Here we have my example of Create Read Update Delete OOP PDO class. I use dependency injection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages