PHP cURL Returning 'NULL' Value

Hi There I am using a Simple curl Operation to show the Values in my Project. But What I am getting is only NULL Value in return.

Here is my Code :

$url = "" ;
//  Initiate curl
$ch = curl_init() ;
curl_setopt($ch, CURLOPT_URL, $url);
//curl_setopt($ch, CURLOPT_POST, 1 ) ;
//curl_setopt($ch, CURLOPT_POSTFIELDS, POST DATA)   ;
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$result = curl_exec($ch) ;

curl_close($ch) ;



Please Correct Me If I am doing something wrong.