// Create a new table object $table = new HTML_Table(); // Add some rows and columns to the table $table->addRow(array('Name', 'Age', 'Email')); $table->addRow(array('John Doe', '25', 'johndoe@gmail.com')); $table->addRow(array('Jane Smith', '30', 'janesmith@gmail.com')); // Set the width of the first column to 150 pixels $table->setWidth(1, '150px'); // Output the table echo $table->toHTML();In this example, we create a new HTML_Table object and add some rows and columns to it. We then use the setWidth method to set the width of the first column to 150 pixels. Finally, we output the table using the toHTML method. Package Library: The package library for the HTML_Table class used in this example is PEAR, a framework and distribution system for reusable PHP components. The HTML_Table class is part of the PEAR HTML package, which provides a simple and flexible way to create dynamic HTML pages in PHP.