Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19292

christopheran on "[Plugin: W3 Total Cache] MFUNC still not working"

$
0
0

Interesting...

If I do this:

--------------
<? $test = "testing"; ?>

<? echo $test; ?>
-----------------

I get the expected result.

If I do this:

--------------
<? $test = "testing"; ?>

<!--mfunc mysecret --> echo $test; <!--/mfunc mysecret -->
-----------------

I get nothing - nothing echos out.

If I run this though:

-----------

<!--mfunc mysecret -->
echo rand();
<!--/mfunc mysecret -->

-------------

That works, so I know that W3TC is recognizing those tags and running the code im between as php...

Any thoughts on this? I'm stuck because it won't echo what I need it too,

Chris


Viewing all articles
Browse latest Browse all 19292

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>