plodos Posted March 16, 2008 Share Posted March 16, 2008 <?php echo ' htmlentities(<a href=\"http://www.xxxxx.com\">XXXXX.ORG!</a>) '; ?> the output must be like this <a href=\"http://www.xxxxx.com\">XXXXX.ORG!</a> but htmlentities function is not working..whats wrong? Quote Link to comment Share on other sites More sharing options...
discomatt Posted March 16, 2008 Share Posted March 16, 2008 All htmlentities does is convert characters to their html-safe values... it will look like unparsed HTML code when viewed in a browser. If you check out the source, you will notice all < are now < and all > are > ect... Quote Link to comment Share on other sites More sharing options...
plodos Posted March 16, 2008 Author Share Posted March 16, 2008 thank you... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.