[eluser]rwestergren[/eluser]
You're using double quotes, so no need to concatenate the string:
Code:
function delete_page($page_id)
{
return $this->db->query("
DELETE t1, t2
FROM tech_static_pages t1 JOIN tech_navigation t2
ON t1.id = t2.page_id
WHERE t1.id = $page_id");
}