how to match records

hi guys,

actually i want to make task of

" if user entered value in textbox and fetching data from database is equal then do some action"

pls pls pls giving me rply soon.

thanks [import]uid: 179279 topic_id: 31338 reply_id: 331338[/import]