ok so i've looked all over the place and cant find a solution that helps my case. I hope someone can help?
basically i have this, and recieve "Warning: sqlite_query() expects parameter 1 to be resource, string given" relating to $dbresult line - so a problem with the query :(
function Up(){
$dbquery = "DELETE FROM toolList WHERE toolId='".$data['toolId']."'";
$dbresult = sqlite_query($dbhandle, $dbquery);
}
foreach($result as $data){
print '< a href="'.Up().'">DELETE!< /a>';
}
Any advice would be really appreciated :)
Thanks