[PHPTAL] Chains of strings in PHPTAL

2008-12-22 Thread Szymek PrzybyƂ
I want to add names for inputs like this: input type=text name=team[x]/ Where x is number of team. Something like this: input type=text tal:attributes=name php:'team['.team['id'].']' / Doesn't works, but this: input type=text tal:attributes=name php:'team['.user['id']/ (without ending ] )

Re: [PHPTAL] Chains of strings in PHPTAL

2008-12-22 Thread Christoph Frick
On Mon, Dec 22, 2008 at 06:14:23PM +0100, Szymek Przyby? wrote: I want to add names for inputs like this: input type=text name=team[x]/ Where x is number of team. Something like this: input type=text tal:attributes=name php:'team['.team['id'].']' / Doesn't works, but this: input