Jump to content

hiding html tags


prajakta29

Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...