Problem with "switch ($to)"..
| From: | Labunski | Date: | Fri, 26 Dec 2003 22:27:48 +0000 |
| Subject: | Problem with "switch ($to)".. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173343@lists.php.net to get a copy of this message | ||
Hello, thanks in advice and Merry Christmas!
I'm a newbie in PHP, so I can't imagine how to add the "Part 1" to the
"Part
2"..
/// Part 1 ////////////
switch ($to)
{
case "roman":
$to = $address;
break;
case "none":
// here should go the "Part 2", but I don't know how!
break;
}
/// Part 2 ///////////
(empty($from) || empty($message)) {
header( "Location: ../eng/contact.htm" );
}
Sorry for my bad english,
Lab.