Re: calling a function from another file
| From: | Teodor Cimpoesu | Date: | Wed, 19 Jul 2000 11:41:38 +0000 |
| Subject: | Re: calling a function from another file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7245@lists.php.net to get a copy of this message | ||
Hi Mihai!
On Wed, 19 Jul 2000, Mihai Bobos wrote:
> Hello!
> I'm new to php and I found nothing in manual..
> Can you help me please?
> I want to call a function in another file
> say in foo1.php I want to access a function from foo2.php.
> Can this be done? If yes, how?
yap,
include 'foo2.php';
function_from_foo2();
that would be in the first chapters of PHP-M.
salut
-- teodor