function createURL($page = '', $ending = '')
differ from
function createURL($page, $ending)
Thx!
Moderator: General Moderators
The first one defines a function with two parameters with defaults of an empty string. So, you can call that particular function without supplying it the arguments, and it will just use the defaults.pastijalan wrote:Another newbie questions. How does
function createURL($page = '', $ending = '')
differ from
function createURL($page, $ending)
Thx!