View Single Post
Old 02-12-2005, 12:18 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,446
sde is on a distinguished road
scripting with php: new line

i'm making a shell script with php. example:
Code:
#!/usr/local/bin/php
<?
echo "hello\n";
echo "world\n";
?>
it actually prints out the new line characters instead of going to a new line. is there a way to get it to go to the next line with php?
__________________
Mike
sde is offline   Reply With Quote