Yo Kirupians,
I am try to split a string that comes from the database - its currently a comma i wish to replace with a break -
(‘Northwich, Cheshire’ becomes ‘Northwich<br>Cheshire’)
$row['Address']= str_replace(", ","<br>", $row['Address']);
then this is to be used below when an email is sent…
$body .= $row['Address'].",<br>
";
However it is just coming up as blank in the email! Any ideas on where I am going wrong!?