aspose file tools*
The moose likes PHP and the fly likes htmlentities to escape data in php Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "htmlentities to escape data in php" Watch "htmlentities to escape data in php" New topic
Author

htmlentities to escape data in php

muntago Richard
Ranch Hand

Joined: Nov 13, 2010
Posts: 82
Hello, i tried to escape outputed database plain string using htmlenties as below




I tried it this way but is not working




below is entire code



please can someone help me to fix this htmlentities issues and check also if this code is sql vulnerable since the query is passed directly to database
 
 
subject: htmlentities to escape data in php