So I have some html sheets done in template format, which I'll then parse and add my mysql data to. The thing is though, when the whole sheet gets returned to me in a form, I want to be able to split it down into sections and store it independently.
I came up with the idea of using unused characters in the sheet, and then using pgreg_replace or something like that to parse out the data that I needed.
Problem is though, that when I add an unused character like  to my html sheet template. It doesn't show up in the browser. I guess I could just use <!-- --> tags, but it doesn't seem very elegant.
Can anyone think of an easier way to parse out my html data, and yet not affect the look and feel of the html sheet itself ?
I came up with the idea of using unused characters in the sheet, and then using pgreg_replace or something like that to parse out the data that I needed.
Problem is though, that when I add an unused character like  to my html sheet template. It doesn't show up in the browser. I guess I could just use <!-- --> tags, but it doesn't seem very elegant.
Can anyone think of an easier way to parse out my html data, and yet not affect the look and feel of the html sheet itself ?