×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Gábor Papp
Added: Nov 16, 2021 4:49 AM
Views: 1670
Tags: no tags
  1. $out=[];
  2. $out['adat']='barmi';
  3. // ...
  4. header('Content-Type: application/json');
  5. echo json_encode($out); exit;