christie
0
Q:

php optional parameter

function dosomething($var1, $var2, $var3 = 'somevalue'){
    // Rest of function here...
}
0

New to Communities?

Join the community