|
Posted by sTony on 11/11/06 12:17
I've now got several versions of what is virtually the same function. I've
got a createLink($Link); and a createSpecialLink($Link,$Name) and a
createExtraLink($Link,$Extra) and now I've come across a situation where I
need to write yet another almost exactly the same function. I know that php
must support functions with a variable number of parameters, but I have no
idea how to write one. How is this done in php, so I can have just one
function that does different things according to the information supplied.
Thanks in advance,
sTony
Navigation:
[Reply to this message]
|