Well, I wasn't clear - putting "global $variable_name;" before the assignment *might* have worked in a different situation, it just turns out in this case it's the template eval that's in a function.
--------------- Added [DATE]1260467433[/DATE] at [TIME]1260467433[/TIME] ---------------
Oh yeah, another thing I meant to mention - if that's the only code in your plugin, I don't think you need the ob_start() and ob_end_clean(), you only really need that when your php code produces output you want to capture.
|