If you're using apache, make sure .html is included as an extension that
gets parsed by PHP.

Tyler

----- Original Message -----
From: "mysqlphp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 15, 2002 8:08 AM
Subject: [PHP] how to require php file in a.html file


> Hi,
>
> How do you (or is it possible) to ask a html tagged file (snoopy.html)
> to include a php file that reads and embeds cookies and talks to a MySQL
> database?  The code below (written before the html tag) is not working
> for me and really want to avoid changing all my .html files to .php
> files.
>
> Thanks for any help,
>
> David
>
> <?
>
> // includes
> include("track.php");
>
> ?>
> <html>
> etc...
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to