You are not logged in.
Pages: 1
Hello!I'm glad to be archlinux user.All run perfectly, except the php.I've followed the LAMP guide, all fine.I've got this problem:
when i write some scripts and want to insert new line .e.g <?php print "something\n"; print "something2"; ?> there is no new line in the browser output.How can i fix this?10x
PS Sorry if there is a thread about this.
Offline
print "something<br />"; print "something2"; ?>
The newline is reflected in the source if you view it through the browser, but a newline is just whitespace in (X)HTML.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
See above for the html-fix. You can also do header("Content-type: text/plain"); if you want to serve plaintext.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Pages: 1