I'm very new in PhP and trying to modify the code of may website.
I want to display a line only under certain condition but when I use if in the code, the site is showing blank
Thanks for your support
<?php
if ( $property->post_type != 'land')
{
<div class="property-drow">
<span>
<?php
if($site_language=='en_US') {
echo 'Age of Construction';
} else {
echo 'Âge Construction';
}
?>
</span><p> {echo $construction;} ?></p>
</div>
}?>