Re: Re: include within html
| From: | Stephen | Date: | Thu, 03 Jul 2003 16:17:35 +0000 |
| Subject: | Re: Re: include within html | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20670@lists.php.net to get a copy of this message | ||
Luis,
Hmm I don't seem to have recieved your original email... However, for the
record, you need to put php tags ( <?php and php?> ) into the include file
if you want it executed!
Stephen
----- Original Message -----
From: "Luis Moreira" <lamoreira@bes.pt>
To: "Luis Moreira" <lamoreira@bes.pt>; <php-windows@lists.php.net>
Sent: Thursday, July 03, 2003 4:30 PM
Subject: [PHP-WIN] Re: include within html
Never mind
----- Original Message -----
From: Luis Moreira
To: php-windows@lists.php.net
Sent: Thursday, July 03, 2003 3:09 PM
Subject: include within html
Hi
A simple (?) question :
When doing this
<html>
<body>
<?php
include 'setup_vars.php';
...
the whole of SETUP_VARS.php is written to the screen, instead of bieng
executed.
What am I doing wrong ?
Thanks
Luis