Skip to main content

All Questions

7 votes
2 answers
229 views

Connect to MYSQL database in PHP with prepared statements

I have recently learned about using the functions exposed by the PDO extension. I created a db class which can handle common actions like create, update, delete and select. Is this method a correct ...
Sanidhya's user avatar
  • 173
1 vote
2 answers
134 views

Repeated DB connection at max user connections

I am trying to create class with connect to mysql database. And if there is max number of connections I want to wait and try it again. I figured out, how it can works, but I am not sure, if its the ...
Tomáš Kretek's user avatar
5 votes
1 answer
204 views

Automatic database migration system

Github here: https://github.com/cmancone/mygrations I'm working on a different kind of database migration system for helping manage web applications. I asked a question about part of the system just ...
Conor Mancone's user avatar
3 votes
1 answer
2k views

PHP/MySQL - OOP database class

I use this database class in a CMS, just a project to learn OOP. Would like to have some review on how to improve it, what should I change, add, remove? ...
ThemesCreator's user avatar