in reply to SQL parser from fragments
So as you come across a checked checkbox, add the condition that it requires to a list of conditions. At the end, if there are any elements in the condition array, add
to the end of your SQL query. If you've got two values and you need to do a range, then you have to do some clever figuring with < and > conditions."where " . join ( " and ", @Conditions )
If you have a specific example that's proving too challenging, let us know.
--t. alex
"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny
|
|---|