Cache and insert second time..
| From: | Nino Katic | Date: | Wed, 05 Feb 2003 18:45:10 +0000 |
| Subject: | Cache and insert second time.. | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7528@lists.php.net to get a copy of this message | ||
Hi,
I didn't get the right answer last time I asked this, so maybe this time
I'll be luckier :-)
So, my question is this: If I use insert with the function that access db
and gets some data from it am I supposed to define my html layout in that
function? For example, if db query returns 10 columns which I store in
arrays and then i use it on different positions on my page I'm not able to
define layout in smarty template because it has been cached? The only part
that was not cached is that insert function, so I suppose I should define
html layout in it. Is this right?
Nino