I've spent the last three days writing and perfecting a script. When it was half-complete it worked fine, but now that it's done, it tells me
Parse error: syntax error, unexpected $end if (filepath) on line 1769
This is the very absolute last line of the file, and reads exactly: </html>
I have moved the line number up and down by adding things and removing things, but it always says there's that error with the last line. I've been having this issue with both my primary host and a free host that I've been using for messing around. I'm very frustrated and can't figure out what's wrong for the life of me.
Any help or suggestions would be much appreciated!
[EDIT] Never mind, I fixed it.