something is seriously wrong with my SQLITE
I included echo $dbquery to see exactly what query is being run, and the statment seems correct - but when trying to view the db after, it comes up blank! I've checked the actuall file, and theres still data in the db file, so maybe it corrupting it?
the query prints as: DELETE FROM toolList WHERE toolId=1289
function Up($id){
global $dbhandle, $dbresult;
$dbquery = "DELETE FROM toolList WHERE toolId=".$id;
$dbresult = sqlite_query($dbhandle, $dbquery);
echo $dbquery;
}< a href="'.Up($data['toolId']).'">DELETE!< /a>
Thanks