Displaying PHP-File
| From: | Martin Thoma | Date: | Thu, 10 Aug 2000 07:48:46 +0000 |
| Subject: | Displaying PHP-File | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11082@lists.php.net to get a copy of this message | ||
Hello !
I have a page with a form. The form is build with php4, the page
contains HTML-Code and PHP-Code:
<HTML>
... some html-code
<SCRIPT LANGUAGE="PHP">
include "ShowForm.php";
</SCRIPT>
... some other html-code
</HTML>
The form is posted to another php-script. If there is an error, this
script should display the file above again with an error-message.
But when reading-in the file above and printing it, the PHP-Section is
not executed and the form is not displayed.
Any ideas ?
Regards
Martin