This class create a ajax-driven dynamic table. Data are retrieved fron an SQLite database and updated on-the-fly as the user changes them. Full package downloadable here
http://www.evolvetechnologies.it/duepuntozero/esempi/dyntable_sqlite.zip
This DBClass allows a coder not only to easily run SQL queries and catch/log errors in case of failure but also to easily get result data epresented into php arrays or html
tables with a built-in pagination control.