In my php file, I store html formatted content like this...
if (mysql_num_rows($callproverbs) < 1) {
// if table has no records then inform user
$displayproverb = "<p><i>Sorry, no stats to show.</i></p>";
} else {
$displayproverb = "<table border=\"1\"><tr><td align=\"left\">Proverb</td><td align=\"right\">Author</td></tr><table>";
}
|
When it is outputted in the html file as [var.displayproverb], I get all the p, i tags and td align=\"right\" displayed instead of having the proverb in the table.
I don't see any similar in the example. Is there a way to make it parse the html tags within the variable when it is outputted?