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, rasberryHP: 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…

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.

Comments

Which function is it that’s bombing it out?

Leave Your Comment

Comments may be edited for content or deleted at any time. Civilized discussion is welcome. Anyone spamming, going way off topic, or otherwise being a jerk will probably be deleted or banned.

User Information

pMcode is allowed for comment formatting. pop-up mini reference

Personalization Options

Comment Security