Hello,
So after a whole day trying with Manfred (many thanks), we didn't find the solution.
on my hosting the return Json was rapped arround a <pre> tag.
<pre style="word-wrap: break-word; white-space: pre-wrap;">{"tag":"getcountwerkengepauzeerd","error":false,"result":7}</pre>
I wanted just the json....
I managed to remove the <pre> tag with this on the top of my php code :
header('Content-Type: text/html')
Now I don't have the <pre> tag but 3 empty chars on the beginning of my script.
When I remove the empty chars my output works, but that is not the way to go....
What am i missing here ??