[eluser]alectrash[/eluser]
I am currenlty using this code inside a model
function remove_entry($blogid)
{
$querystr = $this->db->query('DELETE * FROM tblblog WHERE dbblogid=' . $blogid);
$querydone = $this->db->query($querystr);
return TRUE;
}
but it returns
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REMOVE * FROM `tblblog` WHERE dbblogid=1' at line 1
DELETE * FROM `tblblog` WHERE dbblogid=1
I dont know what I am doing wrong