For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > May 2004 > How can one create a table dynamically with Smarty ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How can one create a table dynamically with Smarty ?
Pete

2004-05-04, 4:05 pm

Hi there,

I have an array containing the image name and description accessible though
$data[i].image and $data[i].description in a smarty {section}.

I just don't understand how i can dynamically create a table in smarty that
has lets say two columns.
Would anybody be so kind to explain to me how to do it ?

Thank you very much.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com