I'm trying to put 2 lines of sentences into a variable, which will be used to display a popup message (same one that shows using alert()). But when I try to put breaks between them the
tag instead just appears a part of text. Anyway to solve this issue?
Below is my code.
$new_error_message = 'Oops, something went wrong! <br/> Your transaction could not be processed.';
Thank you
UPDATE:
I forgot to mention that I'm using 'throw new Phpr_ApplicationException($new_error_message);' to display the message because it's meant to be an error message, not alert().