Im trying to get more variables just in one variable with linebreaks and after that variable is set I want to mail that variable to my mailadres but that is working fine! My code for now is:
$factuur = $bedrijfslogo . '<br>' . $bedrijfsadres . '<br>' . $datum . '<br>'
. $factuurnummer;
But this isnt working because in my mail i get <br>
and not a linebreak.
How do i fix that?
I tried to use echo <br>
and echo <br />
but it isnt working. It gives me parse errors or other errors.
\n"`. – ChoiZ Apr 01 '14 at 16:48
` will indeed echo that. Consult the manual => http://php.net/manual/en/function.mail.php – Funk Forty Niner Apr 01 '14 at 16:50