This link gives me a json list of title and times that the cinema is playing that specific film. I want to get that information and convert it to string however how is that possible? I have used json_decode and it says that node list is empty.
Here's my code:
function odeon(){
$client = new Client();
$crawler = $client->request('GET', 'http://ift.tt/2rDNRY0');
//print $crawler->text()."\n";
json_decode($crawler);
print_r($crawler);
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2sdhFI3
via IFTTT
Aucun commentaire:
Enregistrer un commentaire