My code is as below.
$code = json_decode($json,true);
var_dump($code);
echo "1";
echo "Numbers of tweets containing this link : $code->{'count'}"; //some issue here line (x)
but var_dump($code); gives:
array (size=2)
'count' => int 1602
'url' => string 'http://www.youtube.com/watch/?v=yOutxpoXnfg' (length=43)
what is wrong with my code? line x does not show any thing.
$code['count'];