one of those tear your hair out moments: Cant seem to get a php template to send json back. I've added json to content type and disabled _init and _main files in the CMS. I've tried adding:
echo "something";
echo array("something"=>"something");
echo JSON.encode(array("something"=>"something"))
any I only get a blank screen when visiting the page, no {}, no nothing ?
File got moved, so wasn't updatin ghte template file of the page i was looking at ?♂️