What do you think about PHPTAL?
View Single Post
01-08-2009, 12:54 PM
Join Date: Oct 2008
Location: Nuremberg, Germany
Your solution looks quite good. :)
About the 3d-array-problem: Even in your code the template itself does not decide how many cols to display. You're doing this in your PHP script. So IMO there is no difference between telling patTemplate to start a new row or building an array with the right number of cols. In both cases there is no logic neither in patTemplate Templates nor in PHPTAL Templates. They just display, what you tell them via PHP.
View Public Profile
Send a private message to awuehr
Visit awuehr's homepage!
Find More Posts by awuehr