Site icon Hip-Hop Website Design and Development

Add Linebreak in between a situation

My theme have a situation like this:

    if($information['service_type_id']==1)
        $routeHtml['value']=$pickupLocationHtml.$waypointLocationHtml.' - '.$dropoffLocationHtml;
    else $routeHtml['value']=$pickupLocationHtml;

The center line right here prints 2 values with a hypen in between them.

However I would like these to be in a special line fully.

So, I attempted these:

    if($information['service_type_id']==1)
        $routeHtml['value']=$pickupLocationHtml.$waypointLocationHtml.'</br>'.$dropoffLocationHtml;
    else $routeHtml['value']=$pickupLocationHtml;

and

    if($information['service_type_id']==1)
        $routeHtml['value']=$pickupLocationHtml.$waypointLocationHtml. echo '</br>' .$dropoffLocationHtml;
    else $routeHtml['value']=$pickupLocationHtml;

with out success.

Can somebody please level me within the appropriate route the place I’m making mistake?

Thanks.