How To Use Error Messages From Php File Into Ajax Response?
I've following code for file upload : HTML code :
then in your php echo the error
$error_messages = array(
"email" => "Email Id can't be blank",
"email_invalid" => "Email Id is not valid"
);
echo json_encode($error_messages);
Post a Comment for "How To Use Error Messages From Php File Into Ajax Response?"