Hi Frederick, we got it fixed, it was nothing more than a syntax error. However, I'm still not able to exclude particular block in function file that runs on all our page by inserting it into footer.
We need to pass a random integer from a given array and based on that it loads random form in the footer.
Here is a code snippet for you to review:
<!--MFUNC {E7C5F12EBCDA5F83A41BF33D778ED} -->
<?php
//echo rand();
$surveyforms=array("10","11");
$ra=$surveyforms[array_rand($surveyforms)];
echo($ra);
?>
<!--/mfunc {E7C5F12EBCDA5F83A41BF33D778ED} -->
This should print a random number from an array collection given every time a page is refreshed, however due to cache the result. If we disable caching then it works fine, however as you know caching is very important for performance so we can not disable it.