im using php and MySQL

i dunno if this is the right section to post this,

i have a TABLE labor charges with fields within warranty and without warranty


i have a form with radio buttons naming within warranty and without warranty.
at the later part of my form there is a select statement named labor charges.

labor charges: [SELECT]

now what i want to do is when a user select the radio button within warranty i will use the onChange/onBlur and functions that the labor charges SELECT STATEMENT will only display the within warranty column coming from labor charges table. just like a realtime.

can i do this in php function or should i use javascript

how can i do that?

any idea?

tnx in advance!