Parse error?

Hey people, I am having a weird parse error with my PHP code, I am not sure if it something simple and my mind is so coded out right now or something else.

if($_GET[do]):
    include "templates/edit.html";
elseif($_GET[do]=="edit"): include "script/change.php"; 
elseif($_GET[do]=="delete"): include "script/delete.php"; 
elseif($_GET[do]=="view"): include "script/view.php"; 
endif; 

I get a parse error on the first if line,

Parse error: parse error, expecting `’]’

But I close the get. Any help or explanations appreciated.