Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
166 views
in Q2A Core by

When sending HTML to the database, it is displayed as text. What is the error and how can I display it as regular HTML?

          $html_content = "

<p><strong>hi?</strong> {$text}</p>

";



          


            qa_db_query_sub(

    'INSERT INTO ^posts (type, categoryid, userid, created, title, content, tags) VALUES ($, #, #, $, $, $, $)',

    $type,

    $categoryid,

    $userid,

    $current_datetime,

    $title,

   $html_content,

    $separated_title

);

Please log in or register to answer this question.

...