Can we validate data from jquery

Yes, you can validate data using jquery before submitting form. There is a way custom way to do that by checking the fields value length

`$(document).ready(function(){
    $("#form").submit(function(){
        var field_value = $('input[name="some_name"]').val();
        if(field_value.length>0){
           return true;
        } else{
           return false;
        }
    });
});`

Or you can use a jquery validation library.

https://jqueryvalidation.org/

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)