Re: Default setting garbage
| From: | Liam Gibbs | Date: | Tue, 25 Mar 2003 21:43:22 +0000 |
| Subject: | Re: Default setting garbage | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141014@lists.php.net to get a copy of this message | ||
<<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 'trouble' of copying and pasting $frequency wherever I
needed.
Original problem:
> 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 itself, it ends
up
> with nothing in it. empty() returns 1, while isset() returns nothing on
> this.