Why do I get error in syntax from the code below:
<?php>
function wpai_package($price, $pack) {
    if($pack!=' '){
        return ($pack * $price);
    } else {
        return($price)
    }
}
?>
Syntax error unexpected'}' on line 8
I want to say if the pack IS NOT EMPTY (null) then price x pack otherwise price.
Thanks
 
     
     
     
    