<?php $errors[] = "Field not correct."; echo json_encode(array("error" => $errors)); echo "\n\n"; $error = "Field not correct."; echo json_encode(["error" => $error]);
You have javascript disabled. You will not be able to edit any code.