This is an idea I have just come up with and due to my limited php knowledge I have no idea if this is even possible. If anyone can point me in the right direction that would be great.
I would like my page to display the number of items available in the data base that are currently defined in the selection criteria.
For example - my database sells lets say, T-shirts and you have the choice of material, sizes and colour.
A number in the top right hand corner tells you that there are currently 76 T-shirts in my database (as the initial value of all pull down select options are "Select all")
The user then selects, from the material, pull down, "Cotton" - the number in the top right hand corner instantly changes to 47 to show that there are 47 different cotton T-shirts.
The user decides that this is still too many to choose from so he selects the colour, say, blue - which drops the number down to 23 - which he then decides is a reasonable quantity to search through and there for clicks on submit form.
It would be fantastic if some sort of code already exists and please don't assume that I am asking anyone to do the work for me - all I would like to know is that would this be possible and any ideas where I should start?
Thanks a lot.
Jon