Thanks Eno! I used your direction to devise the dynamic table I wanted! :D
On Oct 20, 11:43 pm, Eno <[email protected]> wrote: > On Wed, 20 Oct 2010,xpanshunwrote: > > In other words, I want product images (along with some other info) to > > be displayed in a sort of a dynamic table according to how many > > entries are in the database. To get images to display 4 per row, then > > move to the next row, etc. > > So just make an HTML table. You just need to maintain a counter as you > loop through the list and echo each TD, and start a new row when the > remainder left after dividing the counter by the number of items per row > (i.e. the modulus) is zero. > > Pretty basic stuff really. > > -- -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
