Sort:  

Hi @lapulga,

@drookyn is right. Would you please customize your code to leave no vulnerabilities open.

By the way, can you please tell me where you got the code from, because some code snippets seem very familiar to me? Is this all your work?

@vladimir-simovic this is my work, and this code is my lecture material

Did you also, as suggested, fix the possible security issue? If not, I can't approve your contribution.

Of course it's a problem! You teach outdated knowledge without telling, that there's a alternative one have to use if they plan to use the "simple web".
And "mysql database" can still be used...Just have a look here.