quick php question
I am using the following code to echo a customers address from a mysql database:
<?php print $recipient->address_street ?>
However, in the DB if there are 2 lines in the value, for example:
123 street
Apt 1
and it will echo it like it is in the db with the double lines. How can I make it echo on just one line, preferably with a comma and space:
123 Street, Apt 1
|