Why is the blackslash in \n being interpreted as an unexpected character in php?

  • Thread starter Thread starter Matthew
  • Start date Start date
M

Matthew

Guest
I am attepting to send an email from a form with php. There are three fields and i need them seperated onto different lines. When i try to use the \n character in either the message body parameter of mail(), or when defining a variable $message, i get a parse error about unexpected variables if i use more than 1 and it claims that the backslash is an unexpected character. Can someone help me?
 
Back
Top