Re[2]: [SMARTY] Generate cache with an array as identifier

From: Date: Thu, 20 Mar 2003 19:55:37 +0000
Subject: Re[2]: [SMARTY] Generate cache with an array as identifier
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8791@lists.php.net to get a copy of this message
Hello messju, mm> i guess you want something like this mm> ... mm> // make "1,2,3" from array mm> $myvar = implode(',', $value); if(!$tpl->>is_cached("mytemplate.tpl","mypage|$myvar|$myvar2"){ mm> ... Wise ! I didn't think of that. I was focusing on sending the array to Smarty. Thanks. Best regards, Jacques JOCELYN

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