Level 88
You should read this: https://www.tutorialrepublic.com/faq/how-to-create-a-new-line-in-php.php
The linebreak is there with \n, however you won't be able to see it in all cases!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
public function toArray($notifiable)
{
return [
'notify'=>'You have been assigned a classroom with a subject. You can now assign marks to students in this subject in IA Management.'
];
}
This is my notification sentence. It's two sentences long. How do I make it so that the 2 sentences are not on the same line? I want to squeeze the notification in into a small rectangular box like facebook. tags or "\n" just show up like text on front end.
How do I insert a line break into the notification?
Please or to participate in this conversation.