All the activities are happening in
After collecting all the Inputs from the form by the user. The output is generated like this.
ob_start(); ?> First Name: <?= $firstname; ?> Family Name: <?= $familyname; ?> Email: <?= $email; ?> Other Name: <?= $other_names; ?> DOB: <?= $dob_day; ?> DOM: <?= $dob_month; ?> DOY: <?= $dob_year; ?> <?php $message = ob_get_clean();
If i try to clean the output atleast every item in one uniqe row. If i do this:
First Name: <?= $firstname; ?> <br>
Line break is occurring, but in the received email
<br> tag is also visible.
There must be a certain method to achieve the desired objective.