Welcome Guest, Not a member yet? Register   Sign In
optional parameters in functions
#1

[eluser]richzilla[/eluser]
I dont know if this is a general PHP question or wether code igniter implements its own solution,but here goes. My pages have a builder function for the page that takes 2 parameters, the page to be loaded, and and any data that may or may not be needed by the page. Ive done quite a lot of asp.net/C# and i know you can specify a parameter as optional with the ? symbol, but is there a similar solution in php?

cheers


Messages In This Thread
optional parameters in functions - by El Forum - 09-07-2009, 09:07 AM
optional parameters in functions - by El Forum - 09-07-2009, 09:16 AM
optional parameters in functions - by El Forum - 09-07-2009, 09:18 AM
optional parameters in functions - by El Forum - 09-07-2009, 11:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB