Hello friends and programmers ..

I am trying to have a button that instantly refines my searches

Something like

Onclick("SELECT * FROM TBL WHERE Description LIKE $value")

Is this something a newbie could pull of or does it require more than just working knowledge of PHP, MYSQL, and Javascript

I have looked through Google, but have not found a good resource to base my script on.