Uncooperative PHP
I happen to be working some these days on a bit of a side project—something related to :ExpressionEngine:. One of the pages requires some PHP to process a submitted form so that the information can be emailed to the appropriate recipient. This is something I’ve done numerous times in the past and isn’t difficult at all.
Until, of course,
HP: decides to play a cruel trick on you and just not work correctly. When I have a certain block of PHP code on the page, the page simply refuses to display. Remove the code and the page shows up fine. There aren’t any errors or anything like that when the code is in place; just a completely blank output. I’ve been over and over the block of code and I simply can’t find anything wrong with it. No misplaced semi-colons, no unclosed conditionals or functions. It’s pretty straight-forward code that just doesn’t want to work.
It’s getting to the point where I’m starting to question if it isn’t something to do with how :EE: allows PHP code in its Templates. Obviously, this will require some continued investigation on my part. I just wish it would at least give me an error so that I could figure out where to start…
Posted Monday April 5, 2004 in PHP by Chris Curtis
This is an older entry and as such, it may be by a guest author or contain formatting problems / extraneous code. If you notice something wrong with the entry, please use the Contact page to let me know the entry title and issue.
Which function is it that’s bombing it out?
By Derek Jones on April 5, 2004 at 05:16pm link