Closed GuyWhoCode closed 6 months ago
There should be a database helper class that creates and re-uses the same database connection: https://blog.stevenwithph.com/the-singleton-pattern-explained-database-connection
There should be a database helper class that creates and re-uses the same database connection: https://blog.stevenwithph.com/the-singleton-pattern-explained-database-connection