Help with including file

Hi, I’m new to PHP and I am trying to make a very basic private messaging system

Anyway, whenever I use include() to include a php file that contains html, it will only display it partially

[php]// The included file

<?php ?>

Welcome!

Logout

Send a Message

To:

Message


Your Messages
<?php ?>[/php]

It only displays up to the textarea, but will not display anything after that, like the submit button or the user’s inbox.

textarea html tag must be closed :
VALUES
[php]
// The included file
Welcome!

Logout

Send a Message

To:

Message


Your Messages
<?php ?>[/php]
Sponsor our Newsletter | Privacy Policy | Terms of Service