I\'m creating a JSON string from a PHP array. I\'ve encoded it using json_encode().
json_encode()
$data = array( \'title\' => \'Example string\\\'s wit
Error come on script not in HTML tags.
'loKESH"'."'\\\\", 'email'=>'imvsrajput@demo.demo', 'time'=>date('H:i:00'), 'date'=>date('Y-m-d'), 'detail'=>'Try this var_dump(0=="ZERO") \\ \\"'." ' \\\\ ", 'id'=>123, ]; ?> =json_encode($_POST??$data)?>