> On a side note, I’m not sure how to highlight code elements in yellow like you do..
`this` → `this`
it’s [markdown](http://daringfireball.net/projects/markdown/syntax), baby!
> in dreamweaver it didn’t show me what the error was, just highlighted that section..
ugh… no offense. You need a code editor for writing code, which Dreamweaver is not. (You might look at something like [komodo](http://www.activestate.com/komodo-edit).) Try it on a real server, and make sure error reporting is enabled –
error_reporting( -1 );
ini_set( ‘display_errors’,1 );
# rest of code here
> If I am not receiving the print after submitting the post, is that an indicator something before that in the code isn’t executing correctly?
Right – that would indicate that code execution does not reach the point where it tries to send the mail. If it did, then you’d get either the “Thanks” or “Problem” message. Two possibilities:
… you’re not entering the initial `if( !empty( $_POST ) )` block
… you’re encountering a fatal error before the call to `mail()` is complete
If it’s the latter, then setting error reporting should tell us so. During development, it’s always a good idea to make sure you see **every last error**. During production, it’s a good idea to hide them (from the public; *you* should still keep an eye on your error logs).