NAME
HTML::DBForm::Search::DropDown - Creates a web interface for searching database tables
SYNOPSIS
$search = HTML::DBForm::Search->new('dropdown',
[{
column => 'id',
sql => 'select id, name from contacts',
}]);
$editor->run(search => $search);
INTRODUCTION
HTML::DBForm::Search::DropDown provides a web interface to search for rows
in a database to be updated by HTML::DBForm.
METHODS
- set_template
-
Sets an optional HTML::Template file
Takes a scalar holding the path to a template file. You can get a template to start with by doing:
perl -MHTML::DBForm::Search::DropDown -e 'print HTML::DBForm::Search::DropDown::TEMPLATE()' > sample.tmpl
Example
$search->set_template('/path/to/template.tmpl');
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 35:
=over without closing =back