Re: Script doesn't respect : puts(1,"\n")
- Posted by cklester <cklester at yahoo.com> Aug 03, 2004
- 412 views
John F Dutcher wrote: > > > The code below (CGI) works fine except that it's as though the > puts(1, "\n") isn't there....as the browser prints the (10) > items read from the file in five cols of two 'lines' each ?? Your browser requires "<br>" for line breaks, so try this: puts(1,"<br>\n") Doing it that way, it will display nicely/properly in your browser and when you view the source. > puts (1,"\n") <---------- this seemed to cause line feeds > with HTML "puts"...but not here -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/