Yep, that's where the empty line should be.
Sucks not having access to logs. I'm generally admin of most machines I work on these days, but I have had to deal with limited hosting accounts at times and not having direct access to logs can be one of the most frustrating things, especially with how prone I am to typos and other silly little mistakes.
And don't worry about your code. It's not that bad; standard beginner stuff. Could be a lot worse. It's pretty repetitive though. As you start learning more, you'll learn to hate repetitive code, and start to use loops and write things in a more abstract way. Everybody has to start somewhere though. :)