Welcome Guest, Not a member yet? Register   Sign In
Model query with two possible inputs
#3

[eluser]obiron2[/eluser]
alternatively reconfigure the function to take $param_type and $param_ value and pass through whether you are selecting by ID or URL_name in param type. Obviously this is only practical if you have only one parameter.

Or create two functions...


Messages In This Thread
Model query with two possible inputs - by El Forum - 07-31-2007, 12:50 PM
Model query with two possible inputs - by El Forum - 07-31-2007, 01:50 PM
Model query with two possible inputs - by El Forum - 07-31-2007, 03:37 PM
Model query with two possible inputs - by El Forum - 07-31-2007, 04:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB