[phplib] template: / in varname From: Mark Heintz PHP Mailing Lists (heintzphp <email protected>)
Date: 01/09/01

I'm having a problem replacing varnames in templates that include a
slash ( / ). For example:

$template->set_var('price__A/T', 'foobar');

Results in {price__A/T} being replaced by a null value. I've tried
escaping the slash, but got the same result. I've checked the docs and
the archives and didn't see anything on the subject.

I am using php4.0.4, and am aware of the problem with $ characters, could
this be related? Has anybody else encountered this problem? Other than
this, template is working fine for me. I'm hoping it's a foolish error on
my part...

Thanks,
mth

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>