I'm creating a file dynamicly though php, it works fine creates a file writes to it (html code) except it freaks out when it needs to write php into that new file.
i'm speculating here but Im thinking it, on the fly, creates a php code as it also tries to read the same code maybe...?

anyway I get an error when it gets to the php part of the code. Escaping characters doesn't help either. It actually crashes saying that it expected '=' on line such and such