The green part works, while the form in the red part does not want to work, when ever I click on Send it brings me back to the homepage instead of going to send.php. I know its better to use html and then send it to php, and when I do that everything works fine, but in this particular case I need it to be echoed. I tried to put the html in a mysql table and echo it, but that did not work. I tried to use =\"...\" syntax, but it also did not work. I don't know what else to do.
What everyone else has said plus you need the first line of your table in a row. You've got the <th> but it's not within a <tr> and since it's the only one in the row, you need to use colspan="2" too.