L PROTECTED]>
Sent: Monday, December 23, 2002 2:40 PM
Subject: Re: [PHP] Undefined Functions
> I have no idea what you have done wrong. I am simply telling you how it
> works. Create a small test script that reproduces the problem and we can
> help you. What you have provid
; Beauford
>
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Beauford.2002" <[EMAIL PROTECTED]>
> Cc: "PHP General" <[EMAIL PROTECTED]>
> Sent: Monday, December 23, 2002 11:14 AM
> Subject: Re: [PH
m: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 11:14 AM
Subject: Re: [PHP] Undefined Functions
Like I said, where you define your function is importa
On Monday 23 December 2002 11:11 am, Beauford.2002 wrote:
> Then based on the one below that doesn't work, what is the problem with it?
your example wasn't runnable (since parts of it were is the
attached a fair example of what you're trying to do? i don't
have any problem with it. it works as e
t;Beauford.2002" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 11:14 AM
Subject: Re: [PHP] Undefined Functions
> Like I said, where you define your function is important, not where you
> call it. If you are defining and calli
n gotolastfunction() function
> gotolastfunction()
>
>
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Beauford.2002" <[EMAIL PROTECTED]>
> Cc: "PHP General" <[EMAI
ion
gotolastfunction()
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Beauford.2002" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Sunday, December 22, 2002 11:16 PM
Subject: Re: [PHP] Undefined Functions
> A
An undefined function error has nothing to do with where you are calling
the function from. It has to do with whether or not you have defined the
function you are calling.
-Rasmus
On Sun, 22 Dec 2002, Beauford.2002 wrote:
> Hi,
>
> I previously asked a question about getting undefined function
Hi,
I previously asked a question about getting undefined function errors in my
script and someone mentioned that it may be that I am calling it from within
an if or else statement. This turned out to be the case. Now the question -
is there a way around this? What I need to do resolves around man
Try include_once() for your includes instead of simply include().
--toby
Matt Williams wrote:
>
> >
> > This has been an ongoing problem, when I include a file which contains a
> > call to a function I get undefined function errors but when I try
> > to include
> > the file containing the funct
>
> This has been an ongoing problem, when I include a file which contains a
> call to a function I get undefined function errors but when I try
> to include
> the file containing the function I get cannot redeclare function error
> messages, I can't win how do I make sure my functions are availa
This has been an ongoing problem, when I include a file which contains a
call to a function I get undefined function errors but when I try to include
the file containing the function I get cannot redeclare function error
messages, I can't win how do I make sure my functions are available to any
sc
12 matches
Mail list logo