I'm trying to work this query - the first if clause works, and the else works, but the middle clause, elseif, doesn't work.
<?php if(get_post_meta($post->ID, 'TourURL', true)) {
<div class="tourenquiryonline">
<h2>Book or Inquire</h2>
This tour can be booked online.
</div>
} elseif (get_post_meta($post->ID, 'bhid', true)){
echo
<div class="tourenquiryonline">
<h2>Book</h2>
This tour can be booked online via the form on the right hand side of this page.
</div>
} else {
<div class="tourenquiry">
<div id="wufoo-q7x2x3">
Fill out my <a href="http://touristisrael.wufoo.com/forms/q7x2x3">online form</a>.
</div>
}?>