Working with PHP and MySQL - need a good and secure design with OO design
- by Andrew
I am new to PHP- first time developer. I am working on my web application and it is nearly done; nevertheless, most of my sql was done directly via code using direct mysql requests. This is the way I approached it:
In classes_db.php I declared the db settings and created methods that I use to open and close DB connections. I declare those objects…