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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
Value in the else condition is getting printed as the page loads
Redirecting a page
Value in the else condition is getting printed as the page loads
Communication between Two web application Problem.
Redirct page in Tilse with JSTL