How is this PHPs fault? You're using functions that have been recommended against for well over 5 years.
If anything, it's a testament to PHP that you've managed to get a web-app up and running when you have so little experience with it.
If anything, it's a testament to PHP that you've managed to get a web-app up and running when you have so little experience with it.
I'm reusing PHP code from 5+ years ago. So, yep.