i am trying to output json for my web application http://www.mohammediatechnologies.in/fbdownload/youtubedl.php?name=www.facebook.com/ladygaga/videos/vb.10376464573/10153640467779574/?type=2&theater for this url mentioned json is not properly formatted with extra strings i am using following code.
$urlf = json_encode(array( ''=> $result));
echo $ urlf;
and $result
is properly formatted json any help will be appreciated i am stuck here