One of the things that most scared me when creating database driven applications with PHP was the thought of someone messing with my database by using SQL injection attacks. I had heard about this from various times before thanks to other sites, but didn’t really know what it meant or what harm it could cause. In this article, I hope to enlighten you.
It came to my attention a few years ago, that SQL code could easily be injected into forms that interact with a database. This can cause many problems.