Re: Re: Revised - Call a Function from a Local File
| From: | chris at wakeboarder dot com | Date: | Wed, 07 May 2003 00:29:22 +0000 |
| Subject: | Re: Re: Revised - Call a Function from a Local File | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146600@lists.php.net to get a copy of this message | ||
As a matter of fact - yes.
Could that be it??
Chris
DvDmanDT <dvdmandt@telia.com> said:
> Hmm... Do you have <? ?> tags inside that include file too?
> <chris@wakeboarder.com> skrev i meddelandet
> news:twig.1052265887.13598@wakeboarder.com...
> > Hi all,
> >
> > This issue was originally posted as Calling a Function from a Remote File.
> > I've since tried a few things and im still having troubles. Help!?
> >
> > I've built my own home page that I'm hoping will serve as the "front
> > end"
> of
> > an application I purchased. I'd like to "call" some functions from the
> > application that build a couple of menu bars.
> >
> > I've tried including the file that the functions are in, but wherever I
> place
> > the include it draws the included file and disregards all of my code after
> > the include.
> >
> > I've tried several different methods of calling the function, including:
> >
> > <?
> > include("file.php");
> > $call = new class("");
> > $call->function();
> > $call->function2();
> > ?>
> > and
> >
> > <?
> > include("file.php");
> > function();
> > function2();
> > ?>
> >
> > and also placing the includes at the beginning of the page with the
> function
> > calls at the position I want the menu bars.
> >
> > In all cases, where I place the include is where it starts drawing the
> > included file and disregarding my code.
> >
> > Any ideas??
> >
> > Chris
> >
> > ----------------------------------------------------------------
> > This message was sent from Wakeboarder.com Free E-mail.
> > For wakeboarding information visit
> > http://www.wakeboarder.com.
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
----------------------------------------------------------------
This message was sent from Wakeboarder.com Free E-mail.
For wakeboarding information visit http://www.wakeboarder.com.