If I have:
echo '<input class="submit button search-btn"';
everything after the the closing double-quote is considered still part of that tag. If I close it by adding a > to the string or just put a space at the start of the string to disable the HTMl zone everything clears up. Otherwise the rest of the code on that page is thought to be the innards of the <input />.