Sql injection problem

Hii everyone,

How to block sql injections and to preserve the code??

There is heaps of topics about this on Stack Overflow and on this forum.

https://www.google.com/search?q=prevent+mysql+injection+in+php&rlz=1C1GTPM_enAU522AU522&aq=1&oq=prevent+MySQL+inje&aqs=chrome.2.57j0l3.4595&sourceid=chrome&ie=UTF-8

I also want to point out there are [=34&childforums=1&type=1"]heaps of threads about this here at sitepoint too.](http://www.sitepoint.com/forums/search.php?query=sql+injection&exactname=1&contenttypeid=1&showposts=0&forumchoice[)

Please be more specific and post your code in question if you’d like better help in resolving your security breach.

SQL injection is merely one attack vector you have to protect yourself and your clients from, and is a means of Escaping Output, the EO in FIEO ([google]filter input escape output[/google])