Hi,
I found a function with the following header:
function checkLogin($use rname = '',$password = '',$groupid =
10,$goodRedirec t = '',$badRedirect = '')
Now the writer of this function is calling it by the following statement:
checkLogin(2)
The author of this function wants that $groupid is set to 2. This
doesn't work. But how can I call this function so it does work?
I tried:
checkLogin(,,2, )
But as I expected that didn't work. So how do I call functions with
default values and I only want to change the middle variable?
J.P.
I found a function with the following header:
function checkLogin($use rname = '',$password = '',$groupid =
10,$goodRedirec t = '',$badRedirect = '')
Now the writer of this function is calling it by the following statement:
checkLogin(2)
The author of this function wants that $groupid is set to 2. This
doesn't work. But how can I call this function so it does work?
I tried:
checkLogin(,,2, )
But as I expected that didn't work. So how do I call functions with
default values and I only want to change the middle variable?
J.P.
Comment