yes, the code seems to be ok, and after a fresh paste the error still remains.
the problem is right in that section where php- and html-code is mixed. the raw code can be seen on the page from a point where an "if" has a condition whit a ">=" operator. (it’s in the part where it decides how many rows are needed for the given month).
I even separeted the condtion to get rid of the ">". So, i made two conditions, one for 30- and another for 31-day month and then the code was on the page from the next condition with an ">" operator (if($d>0)) which is about a dozen lines down from the original one.
so, it seems to have problems with that charachter inside the php code, and maybe recognize it as an ending to a html tag.
but that doesn’t get me any closer to the solution.
edit: i did the old trick. i started to count the "<?" and "?>" tags and it soon became clear, that the starting opening tag was missing from the kalender_snippet_copy_this.php.
Now, i can’t see the code on the page, nor can i see anything
it doesn’t give an error or anything (not even in the system events) i just have a blank page now...