06-15-2008, 08:23 PM
|
#4 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
|
Why can't we just put optional parentheses in brackets like php.net?
myfunction(Taco,[$beans],[$rice])
mm I'm hungry now.
To answer your question
make it equal something in the function call like demonstrated above.
Code:
function myfunction($myarg = 'default')
If you specify a parameter, it will overrule what you put in for defaults.
__________________
Signatures are nothing but incriminating.
|
|
|