As mentioned before, good efforts for practising PHP, but this isn’t something you want in production.
Reinventing the wheel for a lot of things as well. I suggest you try to use a framework next time, this is what’s mostly use din the industry as well. For example, try Symfony, which uses the doctrine dbal.
It also has a security component, and components for basically everything you’re doing here.
As mentioned before, good efforts for practising PHP, but this isn’t something you want in production.
Reinventing the wheel for a lot of things as well. I suggest you try to use a framework next time, this is what’s mostly use din the industry as well. For example, try Symfony, which uses the doctrine dbal.
It also has a security component, and components for basically everything you’re doing here.
Okay I will work on it. Thanks!