note 20539 rejected from control-structures.elseif by sander
| From: | sander@php.net | Date: | Sun, 07 Apr 2002 10:52:03 +0000 |
| Subject: | note 20539 rejected from control-structures.elseif by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28809@lists.php.net to get a copy of this message | ||
0its my first time using elseif and i as wondering if this would work ?
<?php
$MailTo"gsm118275@hotmail.com";
if ($Name=="") {
echo"Please Go Back And Add Your Name";
if ($Body=="") {
echo"Please Go Back And Add A Message";
if ($E-mail=="") {
echo"Please Go Back And Add Your E-mail Address";
}
elseif {
mail($MailTo, $Name, $Body, $E-mail");
}
?>