how to use the <br>tag in email content?
html, php
Solution
use `<br/>` tag instead of `"\r\n"`. I think it may help you.
Problem
``` $to = "example@gmail.com" ; $subject = "Instant estimate message"; $message ="<b>Name: </b>".$name."\r\n"."<b>Email: </b>".$email."\r\n"."<b>Mobile: </b>".$mobile."\r\n"."<b>Message: </b>".$message1; $from = $email; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $headers .= "From:".$from; mail($to,$subject,$message,$headers); ``` i cant get the details in newline, even i have added `$message ="<b>Name: </b>".$name."</br>"."<b>Email: </b>".$email."</br>"."<b>Mobile: </b>".$mobile."</br>"."<b>Message: </b>".$message1;` So tell me how to fix this.