oct 3
Sam 'n Jim.
Talked about sessions (built into PHP) and ways to 'wrap'
the form variables into an object.
(PEAR is a repository of PHP scripts,
analogous to CPAN for perl.)
From ubuntu shell, Jim as root :
$ apt-get install php-pear
... is already the newest version
$ pear list
PEAR
XML_RPC
...
# -a is "install all required and optional dependencies"
$ pear install -a HTML_QuickForm
$ pear install -a DB
# success
$ pear install -a DB_Table
# failure: No handlers for package.xml version 2.0
# suggested fix after online search (-o : only required dependencies)
$ pear upgrade -o PEAR
$ pear install -o DB_Table
# success
See also:
PEAR DB_Table says:
Builds on PEAR DB to abstract datatypes and automate table creation, data validation, insert, update, delete, and select; combines these with PEAR HTML_QuickForm to automatically generate input forms that match the table column definitions.