Re: [PHP] Default setting garbage

2003-03-26 Thread Liam Gibbs
I'll guess that you're trying to access $frequency outside of the function, after you've called it, right? If so, read up on variable scope in the manual. No, I'm trying to access it inside the function. This is what I have (or an example, since I don't have it right in front of me right now):

Re: [PHP] Default setting garbage

2003-03-26 Thread CPT John W. Holmes
I'll guess that you're trying to access $frequency outside of the function, after you've called it, right? If so, read up on variable scope in the manual. No, I'm trying to access it inside the function. This is what I have (or an example, since I don't have it right in front of me right

Re: [PHP] Default setting garbage

2003-03-26 Thread Jason Wong
On Thursday 27 March 2003 02:04, Liam Gibbs wrote: I'll guess that you're trying to access $frequency outside of the function, after you've called it, right? If so, read up on variable scope in the manual. No, I'm trying to access it inside the function. This is what I have (or an

Re: [PHP] Default setting garbage

2003-03-26 Thread Tim Burden
PROTECTED] Sent: Tuesday, March 25, 2003 4:43 PM Subject: Re: [PHP] Default setting garbage Good question. Are you certain your not misspelling frequency when you check it or try to look at it? Sorry if that sounds insulting.. just trying to search for the simplest explaination

[PHP] Default setting garbage

2003-03-25 Thread Liam Gibbs
Why is it that when I send call this function: function GetNextDate($whichfriday, $month = , $frequency = 1, $basedate = ) with this line: GetNextDate(4, 2003-03, 5); that $frequency ends up ? Whether I set it myself when I call the function, or I leave it blank and let the function set it

Re: [PHP] Default setting garbage

2003-03-25 Thread Liam Gibbs
Good question. Are you certain your not misspelling frequency when you check it or try to look at it? Sorry if that sounds insulting.. just trying to search for the simplest explaination. : No, no. Not insulting at all. That's often my problem. But not in this case. I even went to the

Re: [PHP] Default setting garbage

2003-03-25 Thread Kevin Stone
- Original Message - From: Liam Gibbs [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 2:10 PM Subject: [PHP] Default setting garbage Why is it that when I send call this function: function GetNextDate($whichfriday, $month = , $frequency = 1, $basedate

RE: [PHP] Default setting garbage

2003-03-25 Thread John W. Holmes
Why is it that when I send call this function: function GetNextDate($whichfriday, $month = , $frequency = 1, $basedate = ) with this line: GetNextDate(4, 2003-03, 5); that $frequency ends up ? Whether I set it myself when I call the function, or I leave it blank and let the function set