Re: [SMARTY] Smarty, associative arrays and underscores not playing nicely
| From: | Duncan Hill | Date: | Sat, 11 Oct 2003 16:35:15 +0000 |
| Subject: | Re: [SMARTY] Smarty, associative arrays and underscores not playing nicely | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10337@lists.php.net to get a copy of this message | ||
On Saturday 11 Oct 2003 13:49, you wrote:
> I'm using Smarty 2.5.0 and your code worked without a hitch. I would look
> at the compiled template and see if you see anything obviously wrong there.
> Here are the key parts of mine:
>
> <?php echo $this->_tpl_vars['data']['key']['reccount'];
> ?>
>
> <?php echo $this->_tpl_vars['data']['key']['value_1'];
> ?>
Turns out something between eyes and screen didn't see that something between
my typing and commiting to CVS nuked the _ from the template. *sigh* I've
been coding this app for a week straight now, so I'm going code-blind.
Still can't get sections to work with non-numeric indices though, and that's a
critical sticking point for me right now.