Hi

When making froms,

Is it considered good practice to have javascript validate form fields and php to refer to database.

Or is it better to php validate form fields and talk to database