PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm having trouble getting returned results to display as one row per line
Can someone please show me - tell me - advise me - what i'm not doing to get one row per line
Here are the returned results http://www.openrealtour.com/test/newfile4.php
1) Output of php is by default html, so you need to add <br /> at the end of your printf.
or
2) If you want this to output as plaintext, add
header('ContentType: text/plain');
to the top of the file and add \n to the end of the printf.
Skara wrote:2) If you want this to output as plaintext, add
header('ContentType: text/plain');
to the top of the file and add \n to the end of the printf.