[PHP] Re: TAB Syntax

2004-06-30 Thread Harlequin
Lars I got it working a treat. Thanks very much. This is what I ended up with: echo "This\tis\ta\ttest."; and I simply added a PRE tag to the CSS file which has the same attributes as the body tag. Thanks very much for your patience Lars. -- - Michae

[PHP] Re: TAB Syntax

2004-06-30 Thread Lars Torben Wilson
Harlequin wrote: Cheers Lars. So, for example, if I wanted to display some plain text tabbed I'd use: echo "string1\tstring2\tstring3"; There's just one problem though - it formats the text differently to the rest of the page (I'm using CSS to control this). Any thoughts...? Try adding 'white-spac

[PHP] Re: TAB Syntax

2004-06-30 Thread Harlequin
Cheers Lars. So, for example, if I wanted to display some plain text tabbed I'd use: echo "string1\tstring2\tstring3"; There's just one problem though - it formats the text differently to the rest of the page (I'm using CSS to control this). Any thoughts...? -- -

[PHP] Re: TAB Syntax

2004-06-29 Thread Lars Torben Wilson
Harlequin wrote: I know I'm probably going to get flamed for this but it is only a development site but I am having some trouble getting the syntax right for using the tab when echoing information. My current command is: print_r("Host: $hostUser: $userPassword: $password"); I've tried: print_r("H