I tried to do this, but had limited success.
If I put the code <?php echo $mo;?> AFTER the call to the listings template, it displays, but if I put it before the call to the template it does not display.
I also tried putting the code in the template itself and that didn't work. I am sort of a PHP newbie, so it's probably something obvious. Any ideas what I might be missing?