Good evening, At the processor 2 forms, the processor sends 2 messages to the email. But these 2 messages are needed only when sending from one form in which the phone is filled. accordingly, sending 2 messages is as follows:
$sendsms = mail ($tosms, $subjectsms, $messagesms, $headerssms); $send = mail ($to, $subject, $message, $headers); In the $messagesms array, there is $uphone How can $uphone remove or prohibit the execution of $sendsms if there is no information in $sendsms ?
if (isset($messagesms[...])) $sendsms = ...- Anton Shchyrovif (isset($message['uphone'])) { $sendsms = NULL; }if (isset($message['uphone'])) { $sendsms = NULL; }does not help determine the value of$uphonefrom$message = "$uname $uemail $uphone";- FunnyPHP