cotc2001
05-14-2003, 10:56 AM
Can anyone show me the light on this problem im having.
I have two list boxes and a text area, number 2 list box is dependant on the choices of the first and then when the 2nd list box is chosen the result is shown in the text area, all items are dynamic (loaded from mysql).
the problem is when the you make a choice on the 2nd listbox the first reverts back to it's original state.
it may help if I include the link to the page I have it on
http://www.perfume.ie/locator.php
i know the soloution but not how to get there.
currently when you make a choice it returns to the page with the value in the url for example when you choose UK it returns with http://www.perfume.ie/locator.php?country_id=2 and when you then choose the couny it returns with http://www.perfume.ie/locator.php?county_id=89
now i know the soloution is to get it to add the two values together in the url so it reads: http://www.perfume.ie/locator.php?country_id=2&county_id=89 , but that is where I am stuck.
if anyone can help me with this it would be most appreciated (be gentle ima php learner)
forgot to say, the only working (where the result goes into the text area) is the choice UK, shropshire.
additional info is that im using dwmx 6.1 with mysql with php server model
I have two list boxes and a text area, number 2 list box is dependant on the choices of the first and then when the 2nd list box is chosen the result is shown in the text area, all items are dynamic (loaded from mysql).
the problem is when the you make a choice on the 2nd listbox the first reverts back to it's original state.
it may help if I include the link to the page I have it on
http://www.perfume.ie/locator.php
i know the soloution but not how to get there.
currently when you make a choice it returns to the page with the value in the url for example when you choose UK it returns with http://www.perfume.ie/locator.php?country_id=2 and when you then choose the couny it returns with http://www.perfume.ie/locator.php?county_id=89
now i know the soloution is to get it to add the two values together in the url so it reads: http://www.perfume.ie/locator.php?country_id=2&county_id=89 , but that is where I am stuck.
if anyone can help me with this it would be most appreciated (be gentle ima php learner)
forgot to say, the only working (where the result goes into the text area) is the choice UK, shropshire.
additional info is that im using dwmx 6.1 with mysql with php server model