Re: Re[2]: [PHP] Displaying one of three functions.

2002-10-28 Thread @ Edwin
Hello, "Martin Hudec" <[EMAIL PROTECTED]> wrote: > or (from my point of view is this better) > > if {$country!="finland") : >display_shipping(calculate_nonfinland_cost($country)); > elsif ($country=="finland" && $express=="no") : >display_shipping(calculate_shipping_cost($weight)); > else

Re[2]: [PHP] Displaying one of three functions.

2002-10-28 Thread Martin Hudec
Hello Steve, oh my fault...i apologize...this should worki shouldn't use break ;) if {$country!="finland"){ display_shipping(calculate_nonfinland_cost($country)); } elsif ($country=="finland" && $express=="no") { display_shipping(calculate_shipping_cost($weight)); } elseif ($country=="f