Re: [SMARTY] sending emails using my smarty templates

From: Date: Sat, 22 Jan 2005 16:06:04 +0000
Subject: Re: [SMARTY] sending emails using my smarty templates
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12196@lists.php.net to get a copy of this message
> > // parse the page looking for <img> tags > > while($parser->parse()) { > > if(strtolower($parser->iNodeName) == strtolower('img')) { > > foreach($parser->iNodeAttributes as $key => $value) { > > if(strtolower($key) == strtolowr('src')) { > > second strtolower() is a waste in each case above. Whoops, that is what happens when you copy/paste/chop bits of code too quick. :-0 I should have noticed that. Abdul-Wahid

« previous php.smarty.general (#12196) next »