G
G
grechnik2282016-02-13 22:49:41
PHP
grechnik228, 2016-02-13 22:49:41

How to implement photo parser with duckduckgo?

<?php
$get = file_get_contents("https://duckduckgo.com/i.js?q=love&s=1");
$decode = json_decode($get, TRUE);
foreach($decode['results'] as $res) {

echo "".$res['image']."";
}
?>

Nothing works ... what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question