我正在尝试处理这个查询-第一个if子句有效,而else子句有效,但中间的elseif子句无效。
<?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>
}?>