Type: Posts; User: multifunction
Have you tried removing the if, the one before the else?
In addition to what rtrethewey mentioned.
you need to put the name attribute in the HTML as well.
<form id="firstform" action="insert.php" method="post">...