Func Curl_Error
# PHP curl_error Function
[ PHP cURL Reference](#)
(PHP 4 >= 4.0.3, PHP 5)
curl_error β Returns a string containing the error message for the most recent cURL operation
* * *
## Description
string curl_error ( resource $ch )
Returns the error message for the most recent cURL operation.
* * *
## Parameters
**ch**
The cURL handle returned by curl_init().
* * *
## Return Value
Returns the error message or an empty string if no error occurred.
* * *
## Example
* * *
## See Also
- Returns the error number for the last transfer
* [Β»Curl Error Codes](http://curl.haxx.se/libcurl/c/libcurl-errors.html)
* * PHP cURL Reference](#)
YouTip