prajakta29 Posted December 9, 2011 Report Share Posted December 9, 2011 Hi friends I am working on back end system developed in php..I am facing a very simple n silly problem...but m nt getting it exactly so just help me if u can...ny help is appreciable... At backend i can modify user's profile which will be displayd on site after my updation...now while writing the profile info i use some html tags like <br><b> and close them properly too....but problem is that after updation,on site all these tags r visible to viewers.... i hope u all get my problem... code is in php...plss g sm soln. i used strip_tags() function in <?php echo strip_tags($moreabtu); ?> but i got this error Failed Query of UPDATE user_master set personaldescpdesc ='A I am a kathhak dancer .' WHERE userid=403115 Quote Link to comment Share on other sites More sharing options...
roberi Posted December 23, 2011 Report Share Posted December 23, 2011 Try to use it around the $something = $_POST['something']; So itwill be $something = strip_tags($_POST['something']); Hope it works. Quote Link to comment Share on other sites More sharing options...
prajakta29 Posted December 29, 2011 Author Report Share Posted December 29, 2011 Try to use it around the $something = $_POST['something']; So itwill be $something = strip_tags($_POST['something']); Hope it works. I tried this already but nt resolving the problem:-( 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.
Note: Your post will require moderator approval before it will be visible.