What common formatting issue occurs when using TinyMCE with PHP echo output?
When using TinyMCE with PHP echo output, a common formatting issue is that the HTML tags generated by TinyMCE are not rendered properly due to the way PHP handles the output. To solve this issue, you can use the htmlspecialchars() function in PHP to encode the HTML tags before echoing them out. This will ensure that the HTML tags are displayed correctly on the webpage.
<?php
// Retrieve the content from TinyMCE
$content = "<p>This is some <strong>bold</strong> text.</p>";
// Encode the HTML tags using htmlspecialchars
echo htmlspecialchars($content);
?>