Code:
<input name="compare type="submit"
Should probably be ..

Code:
<input name="compare" type="submit"