Matt Pierce
Matt Pierce

Reputation: 805

View WYSIWYG Content

I am sure this is a very basic question. I'm using a WYSIWYG editor to enter content and save it to the database. When I load that content to the web page, it shows as plain text and the browser doesn't render the html tags correctly. It just shows up as

<p>This is some text</p>

This is my first interaction with a WYSIWYG editor. Thanks for your help!

Upvotes: 0

Views: 1550

Answers (1)

Aruna Warnasooriya
Aruna Warnasooriya

Reputation: 339

PHP :

{{ $data }}

Use :

<?php echo $data ?>

Upvotes: 1

Related Questions