If you are getting both emails, than you are not creating the if else statement correctly.
<?php
if(isset($_SESSION["partytpe"]) && $_SESSION["partytpe"] == "birthday") {
<send the birthday message>
} else {
<send the other message>
}
?>
If this is still not working, I would need to see your code.