Question : Assigning value from a query onClick radiobutton

Hello experts,
Newbie at work here.

1. I have a radiobuttongroup like this:
   
   
   
   

2. I have a javascript like this:
 
 
   


3. And the function that executes the query looks like this:

   
   
      SELECT price FROM prices WHERE category = 'new'
                                                AND length = #length#
   



Question
------------
1. How can I display the results of the query every time the user clicks another radiobutton? (This obviously doesn't work...)

I hope the question is a bit clear.

Thanks in advance,

Answer : Assigning value from a query onClick radiobutton

this doesn't have to be complex...

just put this bit of script at the top of your page
 

then have an action page to send the values to

  ">
   ">
   ">
   ">



in the action page do your query



      SELECT price FROM prices WHERE category = 'new'
                                                AND length = #url.length#
   


then send yourself back to wherever you want

Random Solutions  
 
programming4us programming4us