That's why I wondered why "type=button" wasn't working as it should have been correct. Change it back.
Also, you do not have the "input" line on one line. My editor tells me you put this on a seperate line:
\')"></form>
So it should be:
<form>
<input= ... > all one line
</form>



