Quote Originally Posted by rkarta View Post
I changed $message.=strip_tags($thisoutput['text']).'\n';
to $message=strip_tags($thisoutput['text'],'<br>');
and now it works!

for some reason the \n didn't work but now it's fine. I just have to change all \n to <br>.

Thanks a lot for your help!!!!!!!!
No problem, I'm guessing lightalert.js uses the html break tag instead of the newline character.