I`m not sure, but i think
execute("temp=1;");
is wrong. It should be:
execute("temp=1");