Re: [phplib] Re: Blocks in template class From: nathan r. hruby (nhruby <email protected>)
Date: 04/27/01

on 4/27/01 9:34 AM, Ninjaman at ninjaman <email protected> wrote:

>
> I don't get it! Why is this? Everybody writing examples and using
> template.inc seem to have no problem.
>

You must use phplib-7.2c with php4.0.3 and up. php4.0.4pl1 has it's own
issues with strings like $50.00 being interpreted as .00 in template class,
there is a patch for that in the list archives (as is one for the bug you're
haiving, essentially (Row 109) $str = preg_replace($reg, "{$name}", $str);
should be preg_replace($reg, "{\$name}", $str); or similar.. It's been a
while)

-n

-- 
......
nathan hruby - nhruby <email protected>
computer support specialist
department of drama and theatre
http://www.drama.uga.edu/
......

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