How to insert a newline while using error_log() in php
I tried to use <br> and \n but those didn't work.
How to insert a newline while using error_log() in php
I tried to use <br> and \n but those didn't work.
Use double quotes when putting the error message:
error_log("This is a two lined message. \nThis is line two.");
should work.
error_log('This is a one lined message. \nThis is the same line still.');
will not work: notice the single quotes.