how to clean request string in php for prevent sql injection

function cleanit($text)
{
return htmlentities(strip_tags(stripslashes($text)), ENT_COMPAT, "UTF-8");
}

Comments

Popular posts from this blog

How to count duplicate characters from a sentence in java

how to check ban-word user in put using php

how to check ban-word user in put using php