PHP scripts in HTML

From: Date: Wed, 14 Feb 2001 21:28:33 +0000
Subject: PHP scripts in HTML
Groups: php.general 
Request: Send a blank email to php-general+get-39744@lists.php.net to get a copy of this message
I would like to know if there is a way to accomplish the following: In my HTML file, I have the following: <script language="php" src="/phpscript/testscript.php"></script> In the testscript.php file, I have: <?PHP echo "Hello Don"; echo "What is up?"; ?> When I run the html file, I do not see the PHP code but if I place the above code directly in my HTML file, it displays.

« previous php.general (#39744) next »