RE: [PHP-INST] Calling a php function from html file.
| From: | Philip Snyder | Date: | Fri, 08 Feb 2002 19:51:29 +0000 |
| Subject: | RE: [PHP-INST] Calling a php function from html file. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5968@lists.php.net to get a copy of this message | ||
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:archerv@ntsp.nec.co.jp]
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