HTML_Table::addCol

HTML_Table::addCol

HTML_Table::addCol -- Add column

Description

Adds a table column and returns the column identifier

Parameter

  • array $contents - Must be an indexed array of valid cell contents.

  • mixed $attributes - Associative array or string of table row attributes

  • string $type - Cell type either 'th' or 'td'

Return value

int - the identifier for the column

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.