Forum Moderators: coopster
I'm relativly new to using PHP at the level I am currently at. I am having an issue with how my HTML looks when generated by PHP. I am bringing back results from a database and lopping them intp HTML divs and in my view source I litterly have one big line oh HTML.
To break to a new line I have had to add \n to the end of each of my echo commands. Is there a way around this?
I tried print, rather than echo to no avail. I've wrote around 2000 lines of code for a site and ONLY just realised!
Please, someone, help!
Kindest regards,
Tom.
[edited by: Tom_Cash at 12:47 am (utc) on Oct. 28, 2008]