If anyone would like to see the final result, it's available here (I
used tinyURL so this doesn't end up on Google...):
http://preview.tinyurl.com/foodfinder
On 19 Mar, 16:40, Matt wrote:
> Thanks Colin - I read your post after I painstakingly wrote a function
> to do this manually, eg, adding
Thanks Colin - I read your post after I painstakingly wrote a function
to do this manually, eg, adding each ID to an array, removing them if
the user deselects a checkbox, then sending it. My corresponding php
was really messy too in order to cater for all the different
possibilities. After a bit
On Mar 18, 2:21 pm, Chris Sansom wrote:
> At 05:51 -0700 18/3/09, Matt wrote:
>
> >So, like, keep track of what options the user has selected and add
> >these to an array or something that I can then use to send a $_GET
> >request to my script?
>
> Specifically, use them to build a query string
So, like, keep track of what options the user has selected and add
these to an array or something that I can then use to send a $_GET
request to my script? I guess that sounds workable... watch this
space!
On 18 Mar, 12:37, Chris Sansom wrote:
> At 04:30 -0700 18/3/09, Matt wrote:
>
> >As I say,
At 04:30 -0700 18/3/09, Matt wrote:
>As I say, I've managed to produce the basics, but have no idea how to
>use Prototype to a) build a complex WHERE query and b) 'toggle' the
>data when the user checks/unchecks a box.
Don't use prototype to build the WHERE clause. Use prototype to send
the para