Why is this php code direct from your ajax tutorial with minor changes not working?

So I was able to figure out how to write my data to the server. Now I need to insert ENTER (carriage return or line feed) since there are a zillion commas, I cannot comma delineate nor is it readable.

How do I put data on a different line (as if pressing the enter key).

This one should be easy but a search comes up with nothing.

Mike