I have a template system that takes some data, scrubs it and then with a
load method includes the required template. I need to add a param so it
doesn't simply include but returns the contents of the template in a string
with all of the vars populated. I tried:
ob_start();
include my template
If I understand what you're doing correctly, then it should work and I've done
it many times. First thing you should do, though, is switch from short tags
to proper tags, ?php echo $whatever; ?. If you have short tags disabled,
it will not parse ?= syntax.
On Thursday 05 July 2007,
We have short tags enabled as our templates work fine with them.
Thanks!
On 7/5/07, Larry Garfield [EMAIL PROTECTED] wrote:
If I understand what you're doing correctly, then it should work and I've
done
it many times. First thing you should do, though, is switch from short
tags
to proper
3 matches
Mail list logo