I am working on an edit page to change variables in a config file. My issue is that I am loading a variable that contains an email message into a textarea.
$message = Dear $first_name $last_name,\n\n We thank you for your purchase. Please allow 7-10 days for delivery. If you have any questions please feel free to email us at info@yourwebsite.com.
My issue is that I cant seem to get the variable to load into the textarea properly. I have changed the \n\n to <br> tags and it just displays the br tags in its place. I want the message to look like this in the text box.
Dear $first_name $last_name,
We thank you for......
If anyone can help I would highly appreciate it.
$message = Dear $first_name $last_name,\n\n We thank you for your purchase. Please allow 7-10 days for delivery. If you have any questions please feel free to email us at info@yourwebsite.com.
My issue is that I cant seem to get the variable to load into the textarea properly. I have changed the \n\n to <br> tags and it just displays the br tags in its place. I want the message to look like this in the text box.
Dear $first_name $last_name,
We thank you for......
If anyone can help I would highly appreciate it.