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 Soft Skills this week in the Jobs Discussion 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: htmlentities to escape data in php