1. Home
  2. Php
  3. Change document header to json
#php#header

Changes document header and returns document data in JSON format.

header('Content-Type: application/json');
copy
Full Php cheatsheet
Sitemap Git repository