$sms=send_sms($_POST['number'], $_POST['message']);
if ($sms==FALSE) {
print "Please enter a valid phone number.<br />";
}
if ($sms=="foo"){
print "We are sorry, but our SMS system has been used up today. Try again tomorrow.";
}
if ($sms==TRUE) {
print "We have attempted to send your text message<br />";
}
|