Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
() - 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 An undefined function error has nothing to do with where you are calling the function

Re: [PHP] Undefined Functions

2002-12-23 Thread Rasmus Lerdorf
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 An undefined function error has nothing to do with where you are calling the function from. It has to do with whether

Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
[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 calling it all in the same place, then yes, obviously it makes a difference. -Rasmus

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

Re: [PHP] Undefined Functions

2002-12-23 Thread Leif K-Brooks
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 important, not where you call it. If you are defining and calling it all in the same

Re: [PHP] Undefined Functions

2002-12-23 Thread Rasmus Lerdorf
could elaborate on this it would be appreciated. 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: [PHP] Undefined Functions Like I said

Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
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 calling it all in the same place, then yes, obviously it makes a difference. -Rasmus On Mon, 23 Dec 2002, Beauford.2002 wrote

[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

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 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

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 available

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 function I get