Any thoughts as to why the following is not working.
$request_url = \"someurl?myId=$id\"; //returns feed like above $json = file_get_contents($request_url,
I replicated your problem and I observe bool(false) when the ajax url is wrong (not found). Make sure your "someurl" is valid.
If the JSON is invalid, your script would still print it correctly. If the url returns nothing you's still observe 'string(0) ""'
The issue is the invalid url.