Re: Script doesn't respect : puts(1,"\n")

new topic     » goto parent     » topic index » view thread      » older message » newer message

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/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu