My php code is called from the html code in a wordpress page. However It is being commented out by the browser. The code:
<?php if (function_exists (gCF)) gCF(); ?>
inside a div is being read as following (when I see in firebug or chrome)
<!--?php if (function_exists (gCF)) gCF(); ?-->
I searched the net and found following similar questions, but sadly there is no apt solution, and nor has anyone mentioned why this is happening. Is it because of doctype???
Question 1 Question 2 Question 3 Question 4
Thanks in advance.