Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
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

Re: [PHP] Undefined Functions

2002-12-23 Thread Rasmus Lerdorf
; 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

Re: [PHP] Undefined Functions

2002-12-23 Thread Leif K-Brooks
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

Re: [PHP] Undefined Functions

2002-12-23 Thread Gerald Timothy Quimpo
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

Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
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

Re: [PHP] Undefined Functions

2002-12-23 Thread Rasmus Lerdorf
n gotolastfunction() function > gotolastfunction() > > > - Original Message - > From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> > To: "Beauford.2002" <[EMAIL PROTECTED]> > Cc: "PHP General" <[EMAI

Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
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

Re: [PHP] Undefined Functions

2002-12-22 Thread Rasmus Lerdorf
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

[PHP] Undefined Functions

2002-12-22 Thread Beauford.2002
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

Re: [PHP] undefined functions question

2001-02-16 Thread Toby Butzon
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

RE: [PHP] undefined functions question

2001-02-16 Thread Matt Williams
> > 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

[PHP] undefined functions question

2001-02-16 Thread Mark
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