garry Posted June 20, 2008 Share Posted June 20, 2008 I'm sending an email with php but for some reason if I have "<br />" in the email, it displays the actual text here's an example $message = "Name: " . $name . "<br /> " . "Artist: " . $artist . " "; Then when I send the email, it actually displays <br />. How can I have the breaks in the email? Thanks! Link to comment https://forums.phpfreaks.com/topic/111057-sending-emails-with-php/ Share on other sites More sharing options...
abdfahim Posted June 20, 2008 Share Posted June 20, 2008 what do you mean by that? Do you have some words missing in your post? Anyway, if you want to have line break (you dont mention what type of break), then $message = "Name: " . $name . "\nArtist: " . $artist; Link to comment https://forums.phpfreaks.com/topic/111057-sending-emails-with-php/#findComment-569893 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.