PEAR Manual
Prev |  | Next

# HTML_Table::setColCount

HTML_Table::setColCount -- Set number of columns

## Synopsis

    require_once "HTML/Table.php";

``void HTML_Table::setColCount` (int $cols)`

## Description

Sets the number of columns in the table

## Parameter

- `int $cols` - number of columns to create

## Note

This function can not be called statically.

## See

HTML_Table::setRowCount()

Prev | Home | Next
HTML_Table::setColAttributes | Up | HTML_Table::setColType