PHP functions in included files
<p>I've been working on this problem way too long, and I'm getting nowhere. So please excuse what might be a vague question.</p>

<p>Basically, I've created what I think is a modular website, using php and html. I have an index.php page, which 'include's header.php, footer.php, and then in the middle, a content.php page based on 'case' statements in index.php. There are several choices for the content page, but I'll only mention content.php for now.</p>

<p>And here's the problem: content.php has a form, whose 'action' is content.php (with method = post), which is the file located in my web directory, and not the included file. When I hit 'submit', I need the processed form to come up in the included content.php file, displayed with header.php and footer.php, but it just goes to the isolated file on the server.</p>

<p>Any suggestions on a new approach? Thanks!</p>
