Sorry not very good with the whole JSON thing, from the json below, how would I output the title?
http://en.wikipedia.org/w/api.php?action=query&list=search&format=json&srsearch=world%20cup
So far i've got:
<?php
$url ="http://en.wikipedia.org/w/api.php?action=query&list=search&format=json&srsearch=world%20cup";
$json = file_get_contents($url);
$wiki = json_decode($json, TRUE);
var_dump($wiki);
?>