Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

prevent SQL injection in PHP?

$str = "<script>alert('Hacked')</script>";
echo htmlentities($str);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #prevent #SQL #injection
ADD COMMENT
Topic
Name
9+5 =