PHP for a line break

I currently have the below code outputting a custom field with a title and image but I’m trying to add a line break. As I understand it the echo "/n"; at the end there should be doing the trick.

It’s still outputting the data but with no line break – can anybody help out a rather hopeless case like myself 🙂

 <?php
$value = get_post_meta( get_the_ID(), 'ecpt_location2', true);
if( !empty($value)) {
    echo '<h5>Location</h5>';
     echo '<img src="/wp-content/uploads/2013/02/Address1.gif">';
    echo $value;
    echo "n";
}
?>

Related posts

Leave a Reply

1 comment