Name : perl-DBIx-HTMLTable
| |
Version : 0.24
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.7.1
| Date : 2023-07-20 16:46:43
|
Group : Development/Libraries/Perl
| Source RPM : perl-DBIx-HTMLTable-0.24-lp155.7.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Create HTML table from DBI query output
|
Description :
HTMLTable() formats the results of a DBI query as a HTML table. The first argument is the query output formatted as a multi-line string, with columns delimited by a field separator (a comma by default) and rows delimited by a record separator (newline by default). The second argument is a hash of options and table attributes. Options and attributes are described below.
&DBIx::HTMLTable::HTMLTable ($data, {rs => \"\ \", fs => \',\', caption => \"Caption Text\"});
HTMLTableByRef() takes as its first argument a reference to an array of array references, as returned by DBI\'s fetchall_arrayref() and similar functions. As with HTMLTable(), the second argument is a hash of valid options and attributes.
$tableref = $dbh -> selectall_arrayref( \"SELECT \\* FROM $db\" ); HTMLTableByRef ($tableref, {bgcolor => \'white\', caption => \"$db SELECT Query\", border => 2, width => 300});
The file eg/tablequery.cgi is an example CGI script that formats query output for viewing in a Web browser.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/15.5/noarch |