Hi all EE’ers and all at EE -
I am in jam and have blown 5 hours on this so far…
I am having to use a PHP/jQuery form framework called jFormer, it is nice, but having never tried to incorporate PHP into EE, I am blown away by the sheer pain and agony of trying to get a chunk of php to not break my template. If I put an echo statement, php renders fine, the template renders fine, anything more and it breaks…
So… Though I realize, there are hundreds of great plugins or modules in EE to do form things very snazzily… this all begs the question:
What chokes EE when it comes to PHP being put into a template?
Docs state you “can put php in a template” but I see nothing about what rules to follow or what will trip up EE parsing wise?
I have turned on php parsing on input, but I do not think that is the end of this story. I see many threads here about this same topic… Clearly, this is not best practice to jam a bunch of PHP into a template… but, to build a module wrapper around this particular solid php/jQuery plugin seems crazy…
I just 1) want to know about what I can and can’t do with php directly in templates? and 2) what are some pointers to the better docs on this topic?
thanks a bunch in advance,
David