I want to display an error if there is no user. I'm using a WebService [REST]
$find = $client->leads->getLeads([ 'email' => '[email protected]' ]);
if($find == false)
{
echo "Not Found";
}
The above code did not work, could someone give me a light?