Hi I am new to php but I’ve been building websites for about 15 years. I have a property sale site that is almost finished. Each property listing currently shows the area and city. I want to add the country too.
Here is the current code
<?php
if ($property_area != '') {
echo $property_area.', ';
}
echo $property_city;?>
</div>
I cant add an attachment sorry of the screenshot. But basically at the moment a property location shows as
East Side, New York
and I want it to display
East Side, New York, USA
I’ve tried to add the php code myself for the comma and the property_country with no success. Please can anyone advise me? Thanks