SQLITE corruption?- DELETE FROM toolList WHERE toolId=".$id

Asycliddism

New Member
something is seriously wrong with my SQLITEI 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? \[quote\] 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>\[/quote\]Thanks
 
Back
Top