Hi Ed,
This is the example in the book that shows how to do it:
echo $html->tableCells(array(
array('Jul 7th, 2007', array('Best Brownies',
array('class'=>'highlight')) , 'Yes'),
array('Jun 21st, 2007', 'Smart Cookies', 'Yes'),
array('Aug 1st, 2006', 'Anti-Java Cake', array('No',
array('id'=>'special'))),
));
So your requirements would be
echo $html->tableCells(array(
array(array('Foo', array('class'=>'highlight')), 'Bar')
));
Change each cell's string into an array including another array for
the cell's options.
HTH
Paul
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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
To unsubscribe, reply using "remove me" as the subject.