Fix \n. Use printf

And php of course