Hi,
Sorry for the non very descriptive title - wasn't sure what to call this thread =)
Basically, I have a table:
Now, what I wanna do - is a search based on a + and -
For example:
+sugar
+cream
-nuts
This would need to query that table (which would have 1 entry per recipe, per ingredient) ... and then once I've got that, I can simply parse it into a template
I've done similar stuff to this before - but not quite the same, so I'm at a bit of a loss as to how to approach this.
Any suggestions are much appreciated
TIA
Andy
Sorry for the non very descriptive title - wasn't sure what to call this thread =)
Basically, I have a table:
Code:
IngredientSearch
recipe_id
ingredient
Now, what I wanna do - is a search based on a + and -
For example:
+sugar
+cream
-nuts
This would need to query that table (which would have 1 entry per recipe, per ingredient) ... and then once I've got that, I can simply parse it into a template
I've done similar stuff to this before - but not quite the same, so I'm at a bit of a loss as to how to approach this.
Any suggestions are much appreciated
TIA
Andy