Welcome Guest, Not a member yet? Register   Sign In
question concerning url parameters
#4

[eluser]Tom Glover[/eluser]
[quote author="ontguy" date="1218608298"]You could set a default parameter for your function.

Code:
function list ($type, $page = 1)
[/quote]

this is probably the best way to do it, because you can still reorder your url's at a later date with out breaking the rest of your code.


Messages In This Thread
question concerning url parameters - by El Forum - 08-12-2008, 04:45 PM
question concerning url parameters - by El Forum - 08-12-2008, 06:47 PM
question concerning url parameters - by El Forum - 08-12-2008, 07:18 PM
question concerning url parameters - by El Forum - 08-13-2008, 07:05 AM
question concerning url parameters - by El Forum - 08-13-2008, 01:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB