hi my name is shaz and m a student.....i am design a website where i can search for house....

example house type,no of bedrooms, price and are...

my databse is in sql and i am using php language.....i need little healp with the search form validation in javascript....
can anybody help in this......
what i am looking for is how can i do form validation in javascript when i click submit php should retive data from mysql.....


thanks