I know this is something really simple but it is not working for me....
I am using the following to display a variable within html.
<?php if (!empty($data['title_text'])) {
echo '<h1 class="site-title animated fadeInDown">' .$data['title_text']. '</h1>';
}
It is displaying but the varibale is not within the html element. It is displaying like so
TEST DATA
<h1 class="site-title animated fadeInDown"></h1>