Re: fasttemplates & php4

From: Date: Sun, 13 Aug 2000 19:23:08 +0000
Subject: Re: fasttemplates & php4
Groups: php.general 
Request: Send a blank email to php-general+get-11526@lists.php.net to get a copy of this message
Hi, > The ereg() function seems to work different in php4, since it doesnt > remove the curly braces. So if i do: > $variable="foobar"; > $tpl->assign(VARIABLE, $variable); Hummmm...., I'm using ft with php4 with no problems, but I don't do the assign like that, I do it like this: $tpl->assign(array( $var1 => "value1", $var2 => "value2", $var3 => "value3")); like in the tutorials. I hope this helps you. -- --------------------------------- Juan Luis Baptiste M. Pontificia Universidad Javeriana Ingenieria de Sistemas Linux Registered User #119248 http://www.merlinux.org "We're back to the times when men where men and wrote their own drivers" Linus Torvalds. ---------------------------------

« previous php.general (#11526) next »