For most of you this is going to seem so trivial that it's almost laughable so laugh if you must :)
I wanted to see how far I could make it through a site without using a single standard <tag> ... it's all cake. All arguments aside, I think the gig is up. [code] foreach($photos as $photo) { echo ($i!= 0 && $i%$num_of_cols == 0)?'</tr><tr>':''; <------------------ echo $html->tag('td', null, array( .... [/code] I can't find a way around it. - Ed Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en