Can you please explain what exactly this line of code does?
Code:
if (!empty($telephone)) {
$message .= "\r\n\r\nTelephone: " . $telephone;
}
As it is right now it doesn't return anythign to my email address. And I recieve no output. If I add this code:
Code:
if (!empty($telephone)) {
$message .= "\r\n\r\nTelephone: " . $telephone;
echo "<h4>Telephone Error</h4>";
}
it does return "Telephone Error" on the page. I am not an expert by any means, which is why I've come here for guidance.
|