PHPTAL Nested Repeat

Posted by 114343500565423229598 on Stack Overflow See other posts from Stack Overflow or by 114343500565423229598
Published on 2010-05-16T19:56:40Z Indexed on 2010/05/16 20:00 UTC
Read the original article Hit count: 339

Filed under:
|

Hello guys,

I am having an problem trying to achieve a nested repeat in PHPTAL:

    <tr tal:repeat="business analysis_result">
 <td>${business/trading_name}</td>
 <tal:block tal:repeat="selected_key selected_keys">
  <td>HOW??????</td>                               <---problem
 </tal:block>
</tr>

basically I want to have the of inner repeat to get the value of $business[$selected_key], I have looked at the phptal manual which doesn't really give you a demo on how to do this...

cheers guys!

James

© Stack Overflow or respective owner

Related posts about phptal

Related posts about php