Labunski wrote:

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.



Lab - its pretty simple actually...

switch ($to)
{
case "roman":
$to = $address;
break;

case "none":
if (empty($from) || empty($message)) {
header( "Location: ../eng/contact.htm" );
} break;
}



Hope this helps..


Happy holidays!

--
Rolf Brusletto
rolf[at]emailfeeds[dot]com
http://www.emailfeeds.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to