Weird PHP problem
Posted: Fri Dec 13, 2013 9:29 am
OK guys I'm new around here so would appreciate a small help. When I add my custom php part in templates it doesn't load the page at all. Last night it worked like a charm and everything was as it should be and when I got up, it's no longer loading the page. For example, a small tag cloud:
I repeat again, I saw it working last night without any problems.
Help?
Code: Select all
<tag_cloud order=alphabet>
<a href="/tag/<!--TAG_NAME-->/" target="_parent" style="font-size: <?php if (<!--TAG_RANK--> == 3) { echo 16; } elseif (<!--TAG_RANK--> == 2) { echo 14; } elseif (<!--TAG_RANK--> == 1) { echo 12; } elseif (<!--TAG_RANK--> == 0) { echo 10; } ?>px;"><!--TAG_NAME--></a>
</tag_cloud>
Help?