Default parameter
If possible, how do I use a function to create a default parameter
value? The following gives me an "unexpected '(', expecting ')'"
error, which makes sense.
function DisplayInfo($ID, $startdate=date("Ydm"), $numdays=7) {
...function here...
}
|