Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6759793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:59:32+00:00 2026-05-26T13:59:32+00:00

Our users want to be able to type in &lt;p&gt;some text goes here.</p> which

  • 0

Our users want to be able to type in

&lt;p&gt;some text goes here.</p> 

which gets saved to the database and then outputs to the screen as it should, i.e. however the browser renders <p> tags without actually displaying the <p> tags.

At the same time without affecting the existing database generated pages where the user has been typing in

<p>some text goes here.</p> 

Is this possible?

An example of “the customer is always right”. Do I have a choice? No, it’s something they want for some reason which is beyond me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:59:33+00:00Added an answer on May 26, 2026 at 1:59 pm

    I’m unsure what you’re trying to accomplish. If you WANT the browser to render the tags when you display them, then use can use html_entity_decode:

    echo html_entity_decode( "&lt;p&gt;some text goes here.</p> ");
    echo html_entity_decode( "<p>some text goes here.</p> ");
    

    If not, then you can pass the strings to htmlspecialchars

    echo htmlspecialchars( "&lt;p&gt;some text goes here.</p> ");
    echo htmlspecialchars( "<p>some text goes here.</p> ");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want our users of a web site to be able to either search
We want to be able to push simple text messages to ALL our iphone
I want to authenticate users against our AD so I understand that I need
For example, the users of our app want to search products by entering a
We want to implement chat on our website so that users can communicate with
Our users have created MS-Excel spreadsheets which over time have evolved into fairly complex
Our users log into the production database as a fairly low-level user, with SELECT
I need to create a unique id for our users. I don't want to
Here is my problem. I'm working within a CMS and users are able to
At the moment, our application uses the Trident Win32 component, but we want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.