• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.