The only way you can do this is to add .html to your list of extensions
parsed by PHP. This will be pretty wasteful because now every static
page will get parsed as well, so I don't recommend it.

-Philip

-----Original Message-----
From: Archer Vallesfin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 9:44 PM
To: php lists
Subject: [PHP-INST] Calling a php function from html file.


Good Day!

     How can I call a function from a PHP file when
the caller of the function is an HTML.

sample:
Myphp.php
[
   - function Add()
    {
        .....
    }
]

Myhtml.html
[
<html>
<title> Sample </title>
<body>
    // I would like to call Add() function here.... How???
</body>
</html>     
]


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


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

Reply via email to