Please help. I have tried everything and it doesn't work.if($dtype=="SRADDL"){ $ora="SRC Addlf"; }elsif($dtype=="SRSUPP"){ $ora="SRC Supp"; }elsif($dtype=="GROUP"){ $ora="SRC Group"; }elsif($dtype=="SRFXDC"){ $ora="SRC Dep"; }elsif($dtype=="SRFLMD"){ $ora="SRC Med"; }elsif($dtype=="SRLIFE"){ $ora="SRC Life"; }else{ $ora=$dtype; } print $dtype." : ".$ora."\n";
In reply to if/elsif statement troubles by landonc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |