taken care by sql.js in client side
replace include 'sql.php' with method calls to sql.lib.php