Help with Default Date Value in PHP function
Posted: Mon Jan 30, 2006 5:32 pm
I have the following:
and I wanted to assign $day a default value by doing the following:
But it doesn't work. Am I just S.O.L.? or is there an alternate option?
Thanks for your time,
Hoopz
Code: Select all
function which_day($day) {
}Code: Select all
function which_day($day = date("d")) {
}Thanks for your time,
Hoopz