Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hello,
It's a beginner question - sorry...
For some reason I can't get my script to output in several lines. All text is printed/echoed in one continous line. Even if I write: [b]echo "\n[/b]"; or [b]print "\n";[/b] the output does not move to a new line. (btw- other escape characters, like [b]\t[/b], don't work as well.
I also tried this script from the php manual:Code: Select all
<?php
// Create a simple array.
$array = array(1, 2, 3, 4, 5);
print_r($array);
?>I tried with IE and Firefox -- same behaviour.
Anyone has an idea ?
Thanks!
Blue-Ray
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]