How do I set default value of function parameter as today's date?
I tried:
function funcName($today=date('Y-m-d')) {do something}
Throws me this error:
Parse error: syntax error, unexpected '(', expecting ')'
Thanks.
we have two teenage daughters and when we are not attending to their needs, me and my wife really have a boring life. We were talking about this notion the ... [read more]
We all have seen it, people who are greedy *******s and extremely mean spirited ... and living a life full of prosperity , longevity , and wealth ( not that ... [read more]
Hello everyone, I'm excited to join the Warrior Forum community. I've been working on websites and learning more about SEO, content strategy, and digital marketing. I'm looking forward to learning ... [read more]
this may sound cheesy but one day when i have enough to go around i would love to give $500/$1,000 in cash as a tip to a unsuspecting and worthy ... [read more]
Hey fellow warriors, Thought I would share how i have been using AI to create amazing posters for free. Its a very simple process and takes only a few minutes. ... [read more]
"Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."