"; echo ""; echo "Name"; echo "Age"; echo ""; echo ""; echo "John"; echo "25"; echo ""; echo ""; echo "Jane"; echo "30"; echo ""; echo ""; ?>
addHeader([ 'Name', 'Age', 'Gender' ]); $table->addRow([ 'John', '25', 'Male' ]); $table->addRow([ 'Jane', '30', 'Female' ]); echo $table->display(); ?>This code creates an HTML table using the SimpleTable package/library. It allows users to add headers and rows to their tables with ease. The package/library used in this example is the SimpleTable package.