Re: HTML_Table and rowspan colspan

From: Date: Thu, 03 Nov 2005 15:43:13 +0000
Subject: Re: HTML_Table and rowspan colspan
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21756@lists.php.net to get a copy of this message
Wakan wrote: > I'd like to know what's the meaning of > - Handles col and rowspans > in the description of this package...but nothing in the documentation. > Can someone put an example of how to work with col or rowspan? $table = new HTML_Table(); $table->setCellContents(0, 0, 'I span over two rows and three columns after the next code line'); $table->setCellAttributes(0, 0, array('rowspan' => 2, 'colspan' => 3); $table->setCellContents(2, 0, 'and I span over the next three two rows but only one column'); $table->setCellAttributes(2, 0, array('rowspan' => 3); echo $table->toHtml(); > I'd like to ask for a problem too....but I don't know if it's the right > place: [...] Maybe you can try yourself now after the explaination above? Mark

« previous php.pear.general (#21756) next »