Warning: sqlite_query() expects parameter 1 to be resource, string given
PHP Snippet 1:
function Up(){
global $dbhandle, $data, $dbresult;
$dbquery = "DELETE FROM toolList WHERE toolId='".$data['toolId']."'";
$dbresult = sqlite_query($dbhandle, $dbquery);
}