// Setting CURLOPT_RETURNTRANSFER variable to 1 will force cURL // not to print out the results of its query. // Instead, it will return the results as a string return value // from curl_exec() instead of the usual true/false. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);