Original Ray ;)
Thanks!
I'm doing this right now and it's working:
<?php
$dateMonth = date('M');
$dateDay = date('j');
$original = array("[dateMonth]", "[dateDay]");
$new = array($dateMonth, $dateDay);
?>
<?php echo str_replace($original, $new, WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Home', 'Calendar')); ?>
I'd really like to have a more dynamic solution though. I tried something like this where I replaced the php open and close tags in the database with "[{[{" and "]}]}". Then I did this:
<?php
$original = array("[{[{", "]}]}");
$new = array("<?php", "?>");
?>
<?php echo str_replace($original, $new, WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Home', 'Calendar')); ?>
No luck though. Am I close to something here, or chasing the white rabbit?